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 » [SOLVED]Synchronizing workitems across a web service call

Post new topic  Reply to topic
 [SOLVED]Synchronizing workitems across a web service call « View previous topic :: View next topic » 
Author Message
MQSerious
PostPosted: Wed Apr 21, 2004 1:51 pm    Post subject: [SOLVED]Synchronizing workitems across a web service call Reply with quote

Acolyte

Joined: 29 Mar 2004
Posts: 68
Location: At Large

I am using a variation of Jmac's ProcessStarter UPES code to instantiate a process. The first activity(A) in my process is a web service call to application WS. I need this WS app to signal back to me that it's done with the specific workitem at which point additional work will be done then activity A is considered done. Signalling is not a problem.

My dilemma is keeping track of workitems serviced by the web service. I considered passing the item's OID to the web service and have the web service pass back the OID when it's done so that I may query MQWF for the particular workitem (I am saving the OID in the item description for easy retrieval) and proceed to complete the activity. Is this efficient? Anyone have a better way to handle this requirement?

Thx.


Last edited by MQSerious on Thu Apr 22, 2004 7:25 am; edited 1 time in total
Back to top
View user's profile Send private message
jmac
PostPosted: Wed Apr 21, 2004 5:10 pm    Post subject: Reply with quote

Jedi Knight

Joined: 27 Jun 2001
Posts: 3081
Location: EmeriCon, LLC

I'm not 100% certain I understand what you are doing... But your method seems to be the best way to accomplish this. Using OID to retrieve any object is the most efficient method possible.

GOOD LUCK
_________________
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
manoj
PostPosted: Wed Apr 21, 2004 7:14 pm    Post subject: Reply with quote

Master

Joined: 30 Jan 2002
Posts: 237
Location: Virgina

I donno about Jmac 's code..but if you are calling create process API then another way to do this is using a External Context (Process context). This is a useful feature when you are interested in getting a list of a processes having a common feature, say you are interested in all the processes for same "Applicant ID"...ofcource this is useful at process instance level only and not at workitem level
_________________
-manoj
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Ratan
PostPosted: Thu Apr 22, 2004 6:49 am    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

Is your Activity A manual or Automatic? Is the owner of the workitem going to invoke the Web Service call. If so, your solution is right. If it is an Automatic Activity, your UPES should make the Web Service call. For Automatic, you would not have any workitems.
_________________
-Ratan
Back to top
View user's profile Send private message Send e-mail
MQSerious
PostPosted: Thu Apr 22, 2004 7:23 am    Post subject: Reply with quote

Acolyte

Joined: 29 Mar 2004
Posts: 68
Location: At Large

Ratan, indeed it is a manual activity. Thanks Manoj, Ratan, and Jmac for your input. Problem solved.
_________________
Regards,
MQSerious.
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 » [SOLVED]Synchronizing workitems across a web service call
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.