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 » viewing a running UPES task

Post new topic  Reply to topic
 viewing a running UPES task « View previous topic :: View next topic » 
Author Message
BenBaumann
PostPosted: Wed Nov 23, 2005 8:10 am    Post subject: viewing a running UPES task Reply with quote

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
View user's profile Send private message Visit poster's website
jmac
PostPosted: Wed Nov 23, 2005 12:39 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
BenBaumann
PostPosted: Wed Nov 23, 2005 12:48 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
jmac
PostPosted: Wed Nov 23, 2005 12:51 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
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 » viewing a running UPES task
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.