04-02-2014 10:17 PM
I have a Sequence File composed of a Mainsequence & Subsequence.
Inside of the MainSequence, I called a Subsequence in a new thread.
Now, I want to run Subsequence until the Mainsequence triggers stopping of this Subsequence.
Any suggestion on how to do this? By notification, passing of variables, etc.?
04-03-2014 01:43 AM
@xxxNOAHxxx wrote:
[...]Now, I want to run Subsequence until the Mainsequence triggers stopping of this Subsequence.
[...]
Your subsequence contains a loop?
Does the "trigger" only prevent the subsequence from further looping or does it immediatly terminate the subsequence?
How about reporting?
How long does it usually take the MainSequence to generate the "trigger"? How many steps execute in the subsequence till that moment (referring to memory issues because of result collection)?
Norbert
04-04-2014 09:29 AM
You can pass a boolean variable into the async sequence as a byref parameter and your subsequence can check it periodically and your mainsequence can set it. You can also use notification steps similarly. Either way should work.
-Doug