Author |
Message
|
Vangmayi |
Posted: Mon Nov 19, 2012 8:20 am Post subject: Why is it going to both subflows? |
|
|
Novice
Joined: 05 Oct 2012 Posts: 11
|
Hi All,
I have 2 subflows connected from compute. I have a written a code such that whenever the input message comes in, it will go to its respective subflow. But the problem is once the message comes out of its respective subflow, it is going to the next subflow too, but is not retrieving the values. Is it correct to say RETURN FALSE in the compute, so that it wont go to the next subflow? Please help!
Thanks |
|
Back to top |
|
 |
lancelotlinc |
Posted: Mon Nov 19, 2012 8:24 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
Vangmayi |
Posted: Mon Nov 19, 2012 8:29 am Post subject: |
|
|
Novice
Joined: 05 Oct 2012 Posts: 11
|
Yes, i did attend WMB training. |
|
Back to top |
|
 |
McueMart |
Posted: Mon Nov 19, 2012 8:35 am Post subject: |
|
|
 Chevalier
Joined: 29 Nov 2011 Posts: 490 Location: UK...somewhere
|
So in that case, if you are PROPAGATEing a message out a terminal (which I assume you are from your description), what do you then have to do to prevent further code execution in the compute node? |
|
Back to top |
|
 |
lancelotlinc |
Posted: Mon Nov 19, 2012 8:38 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
Vangmayi wrote: |
Yes, i did attend WMB training. |
You need to get your money back from the training. Where did you attend this training?
Was it the WM663 class or the WM664 class? _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
Vangmayi |
Posted: Mon Nov 19, 2012 8:48 am Post subject: |
|
|
Novice
Joined: 05 Oct 2012 Posts: 11
|
To prevent any further code execution, i would say "RETURN FALSE".
Am i correct?
Thanks, |
|
Back to top |
|
 |
lancelotlinc |
Posted: Mon Nov 19, 2012 8:56 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
Vangmayi |
Posted: Mon Nov 19, 2012 9:07 am Post subject: |
|
|
Novice
Joined: 05 Oct 2012 Posts: 11
|
"If you are using the PROPAGATE statement in your node it is important that you use a RETURN FALSE; to prevent automatic propagation of the message to the next node in the message flow." |
|
Back to top |
|
 |
lancelotlinc |
Posted: Mon Nov 19, 2012 9:10 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
Vangmayi wrote: |
"If you are using the PROPAGATE statement in your node it is important that you use a RETURN FALSE; to prevent automatic propagation of the message to the next node in the message flow." |
Very good. The second day of the WM663 class covers this topic. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
Vangmayi |
Posted: Mon Nov 19, 2012 9:12 am Post subject: |
|
|
Novice
Joined: 05 Oct 2012 Posts: 11
|
|
Back to top |
|
 |
|