|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
FMC00119E: Not authorized |
« View previous topic :: View next topic » |
Author |
Message
|
supreeth |
Posted: Wed May 25, 2005 10:58 pm Post subject: FMC00119E: Not authorized |
|
|
 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 |
|
 |
jmac |
Posted: Thu May 26, 2005 5:26 am Post subject: Re: FMC00119E: Not authorized |
|
|
 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|