|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
viewing a running UPES task |
« View previous topic :: View next topic » |
Author |
Message
|
BenBaumann |
Posted: Wed Nov 23, 2005 8:10 am Post subject: viewing a running UPES task |
|
|
Apprentice
Joined: 28 Jul 2005 Posts: 25 Location: Milwaukee
|
In one of the applications I support we use workflow to drive a process. Workflow creates manual activities that let our clients know what they need to do next. These activities are usually done in external systems. I want to remove the extra effort required by our clients of marking these manual tasks complete.
I can change these tasks to be psuedo-syncronous UPES messages. This works as follows; workflow sends a request message out to a dummy queue. When the client completes whatever action is required in the external service the service will send a reply message into broker, broker will match the correlation id and send the reply message into workflow.
The problem I have is that since this will now be a UPES (automated task) rather than a manual task the client will not see an outstanding task to be worked on. Is there any WF query you can use to give you back any tasks in a running state, even if they are UPES messages?
Thanks,
Ben |
|
Back to top |
|
 |
jmac |
Posted: Wed Nov 23, 2005 12:39 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Ben:
With 3.5 and up you could query the ActivityInstances to get what you want. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
BenBaumann |
Posted: Wed Nov 23, 2005 12:48 pm Post subject: |
|
|
Apprentice
Joined: 28 Jul 2005 Posts: 25 Location: Milwaukee
|
We are currently running 3.4, but will be upgrading to 3.6 within the next 4 months.
Do you know of any documentation on how to do this? |
|
Back to top |
|
 |
jmac |
Posted: Wed Nov 23, 2005 12:51 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
BenBaumann wrote: |
We are currently running 3.4, but will be upgrading to 3.6 within the next 4 months.
Do you know of any documentation on how to do this? |
Just the API doc... but its a new query against the execution service so it works like queryWorkItems(), so assuming that you have these UPES activities assigned to the user, you should be able to get back the running activity instances for that user fairly easily. _________________ 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
|
|
|
|