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 » Asynchronous/synchronous action calls

Post new topic  Reply to topic
 Asynchronous/synchronous action calls « View previous topic :: View next topic » 
Author Message
manoj
PostPosted: Sat Jan 11, 2003 1:46 pm    Post subject: Asynchronous/synchronous action calls Reply with quote

Master

Joined: 30 Jan 2002
Posts: 237
Location: Virgina

Hi,
any body knows whether the action call "ProcessInstance.start2(rwc)" is an asynchronous call or not.
over a peiod of 6 months we 've observerd (at least 3 times) "start2" returns true and the process is never started.
appreciate any help

thx
_________________
-manoj
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
jmac
PostPosted: Mon Jan 13, 2003 9:08 am    Post subject: Reply with quote

Jedi Knight

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

manoj:

I am assuming here that by true you mean that you are not throwing an exception here. The ProcessInstance.start2 returns void.

If this is the case, that you are getting an rc value of 0 (i.e. no FmcException thrown) then I believe this would be a bug and should be reported.
_________________
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: Mon Jan 13, 2003 10:25 am    Post subject: Reply with quote

Master

Joined: 30 Jan 2002
Posts: 237
Location: Virgina

You r right , if i get an exception in "start2(rwc)" , in my API i return false
otherwise true....
But if the call "start2(rwc)" is asynchronous then MQ WF will not throw an exception. Then i can safely assume that some other point of time the process will be started.
thx
_________________
-manoj
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
jmac
PostPosted: Mon Jan 13, 2003 10:51 am    Post subject: Reply with quote

Jedi Knight

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

I believe the call is synchronous. I.E. you do not get control back until the instance.start2() method has completed.
_________________
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 » Asynchronous/synchronous action calls
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.