|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Workitem State Transition |
« View previous topic :: View next topic » |
Author |
Message
|
MQSerious |
Posted: Thu Aug 26, 2004 5:34 am Post subject: Workitem State Transition |
|
|
Acolyte
Joined: 29 Mar 2004 Posts: 68 Location: At Large
|
I have a block implementing a loop with a NOOP activity and 3 program activities(A,B,C). In the block is a NOOP activity that evaluates the transition condition based on a container member value. So, if Value=1 -> A, 2->B, 3->C.
I am experiencing random weird behaviour. At random points in the flow, say at activity C, I checkout the item, update container Value to 1, checkin the item, then if I immediately query for the workitem, I don't get anything back. However, if the program sleeps for 2 seconds or so, the query returns the item. Is this normal? It appears as though Workflow returns with a completion code but spwans a thread to do the actual checkin. Is checkIn() an asynch call?
This same behaviour is exhibited by the WebClient - notice how you have to click on the Refresh button to actually see the state transition after you checkin an item (there is usually a red X icon until you refresh).
Is there a way to overcome this? Thanks. |
|
Back to top |
|
 |
jmac |
Posted: Thu Aug 26, 2004 5:48 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
If I am understanding you correctly, I think this has to do with the fact that an asynch UPES may be connected to the next activity for transactional purposes. This might be a question you should post to the IBM Newsgroup. _________________ 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
|
|
|
|