|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How to access container values from a stand alone java pgm |
« View previous topic :: View next topic » |
Author |
Message
|
ucbus1 |
Posted: Tue Nov 11, 2003 11:27 am Post subject: How to access container values from a stand alone java pgm |
|
|
Knight
Joined: 30 Jan 2002 Posts: 560
|
I have say 20 instances failed at an activity due to some application error and are routed to another
process beacuse of the errors. I have the instance names of all 20 instances. So I take an
instance , go to out-of-box client and clikc on "monitor", go to the activity and click on the
activity and check the output container for the error codes. Ideally I would like to automate this.
have a java program, take 20 instance names, uses "some workflow API(????)" and get the
output container values for the 20 instances.
Now is it doable? if so which chapter of programming guide helps me? |
|
Back to top |
|
 |
vennela |
Posted: Tue Nov 11, 2003 11:47 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
If you can do it from Out of box client then it should always be able to do it using APIs.
You should look at ProcessInstance Monitor, get the ActivityInstance montitor from that and then the Output container.
I have never done that but I don't see any reason why it wouldn't.
ProcessInstanceMonitor -> ActivityInstance -> outContainer() |
|
Back to top |
|
 |
jmac |
Posted: Tue Nov 11, 2003 11:59 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Ucbus:
Logon to MQWF
For each instance you have do the following:
Queryworkitem with filter of ProcessName and ActivityName
Check to be sure you got exactly 1 instance back
Access Input container of the instance
Display the necessary container members
Logoff MQWF _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
Ratan |
Posted: Tue Nov 11, 2003 12:45 pm Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
I would assign all the automatic activities to a perticular user, so I know whose worklist to check for errors. _________________ -Ratan |
|
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
|
|
|
|