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 » Novice......Need Help !!!

Post new topic  Reply to topic
 Novice......Need Help !!! « View previous topic :: View next topic » 
Author Message
elvis_gn
PostPosted: Mon Jan 17, 2005 10:45 pm    Post subject: Novice......Need Help !!! Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi,
I have been trying to checkIn, into a workitem using the java API's.

myWorkItem.checkIn(outputContainer,1);

the above is the command where myWorkItem is an object of type WorkItem....outputContainer is ReadWrite type.......

it is throwing an error FMC_ERROR_WRONG_STATE (120)
for this I started my workitem manually.........
now it shows the error FMC_ERROR_NOT_AUTHORIZED (119)

can someone tell me how i can fix this an how can i make my work item run rather than manually running it ????

Thanks
Back to top
View user's profile Send private message Send e-mail
vennela
PostPosted: Tue Jan 18, 2005 2:09 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Have you checked out the workitem before trying to checkIn

Here is what the javadoc says

Quote:
The work item must be in the CheckedOut state and the associated process instance must be in the Running or Suspending state.


I think that is the reason it is throwing the FMC_ERROR_WRONG_STATE (120)
Back to top
View user's profile Send private message Send e-mail Visit poster's website
sac
PostPosted: Sat Jan 22, 2005 1:59 am    Post subject: Reply with quote

Apprentice

Joined: 10 Feb 2003
Posts: 44

Hi,
In context of "FMC_ERROR_NOT_AUTHORIZED (119)" error that you are getting, just check if you have authorized the user for the "Category" to which the process instance of the work item belongs to.
Back to top
View user's profile Send private message
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 » Novice......Need Help !!!
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.