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 » Wait for all connectors question

Post new topic  Reply to topic
 Wait for all connectors question « View previous topic :: View next topic » 
Author Message
koko
PostPosted: Mon Sep 26, 2005 7:08 am    Post subject: Wait for all connectors question Reply with quote

Master

Joined: 26 Sep 2003
Posts: 206

I have a process which can take one or more paths. At the end of these parallel routes, I need to wait for the valid incoming connectors and then proceed further.

E.G
There is a decision box and five paths out of it say with steps A, B, C,D and E in each of those paths. There is a wait step W after this. W should start only after all the valid paths ( may be A & B, may be A, C &D etc ) are complete.

My question is if I mention the Wait step to wait for all incoming connectors, what happens if one of the paths coming into it is not executed. In the above example, if A is not encountered. I think it would wait indefinitely for that path to occur and never proceed further. How do I address this issue?

In other words how do I wait for parallel activities when one or more paths may or may not get executed?
_________________
Thanks

Koko
Back to top
View user's profile Send private message
Ratan
PostPosted: Mon Sep 26, 2005 8:36 am    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

The scenario you described is a easy one to test, and you should do it before posting a question.

When you have multiple incoming connectors to an activity, and the activity is set to "At least one incoming connector = true", the activity waits for all incoming connectors to be evaluated. In your case if a certain path is not executed, it still means that path is "Evaluated". So if certain paths are not executed in your flow and atleast one incoming connector is true your Join activity will execute.
_________________
-Ratan
Back to top
View user's profile Send private message Send e-mail
jmac
PostPosted: Mon Sep 26, 2005 10:59 am    Post subject: Reply with quote

Jedi Knight

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

Ratan is 100% correct....

However just to make the point again for anyone who has not heard it before:

A control connector is a 3 state object (not a 2 state object) the states are:
    True
    False
    Unevaluated


An activity that has control connectors that lead into it CAN NEVER execute if any connector is in the unevaluated state.
_________________
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 » Wait for all connectors question
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.