ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » FMC00119E: Not authorized

Post new topic  Reply to topic
 FMC00119E: Not authorized « View previous topic :: View next topic » 
Author Message
supreeth
PostPosted: Wed May 25, 2005 10:58 pm    Post subject: FMC00119E: Not authorized Reply with quote

Voyager

Joined: 17 May 2005
Posts: 90
Location: London

Hi All,
I am facing an issue with respect to querying the description of an activity instance from a work item.

I am able to get the state of the work-item, the object id associated with it, the kind of the activity etc.

But, when i try to get the description of the activity instance, i am getting a "not authorized" error. I have logged in as the user who is belonging to the role, to which the activity is assigned.

PS: 1> I am infact able to process the work item also. My only concern is to query the information like description.... etc, by using methods, which are actually part of ActivityInstance class.
2> I am able to see the description in the windows runtime gui.

--- code snippet -----

WorkItem[] wrkitm = service.queryWorkItems("NAME='CheckNtnlty'","NAME",myThreshold);


for (int i=0;i<wrkitm.length;i++){
System.out.println("The object id of the activity instance is " + wrkitm[i].persistentOidOfActivityInstance());
System.out.println("The full name of the activity instance is " + (wrkitm[i].activityInstance()).description());
}


----- code snippet -----

Thanks and Regards,
Supreeth
Back to top
View user's profile Send private message
jmac
PostPosted: Thu May 26, 2005 5:26 am    Post subject: Re: FMC00119E: Not authorized Reply with quote

Jedi Knight

Joined: 27 Jun 2001
Posts: 3081
Location: EmeriCon, LLC

supreeth wrote:
Code:
System.out.println("The full name of the activity instance is "   + (wrkitm[i].activityInstance()).description());


Is there some reason you are not using
Code:
wrkitm[i].description();


If you are doing this from the owner of the workitem this will give you the description.

Your problem is most likely that the user is not authorized to access the activityInstance.

From the manual (which you should read by the way)

See WorkItem chapter activityInstance() method

Authorization One of:
    Process authorization
    Process administration authorization
    Be the process creator
    Be the process administrator
    Be the system administrator

_________________
John McDonald
RETIRED
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » FMC00119E: Not authorized
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.