You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I came across an interesting thought while using the sequencer API.
It could be interesting to be able to cancel the execution of a group of parallel sequences of actions if one of these sequence returns an error.
For instance, I have to run several group of commands but if one these group fails then the execution of all non-finished sequence should be stopped.
Let's take the following XML chunk as an example:
<par>
<seq desc="cmd group 1">
<action id="action1">mycmd -p a -l x
<action id="action"2>othercm -p a -l x
</seq>
<seq desc="cmd group 2">
<action id="action1">mycmd -p b -l y
<action id="action"2>othercm -p b -l y
</seq>
</par>
Both sequence are executed in parallel.
If "mycmd -p a -l x" of "cmd group 1" fails (for whatever reason), then the execution of the sequence "cmd group 2" should be stopped.
Regards,
The text was updated successfully, but these errors were encountered:
Hi,
I came across an interesting thought while using the sequencer API.
It could be interesting to be able to cancel the execution of a group of parallel sequences of actions if one of these sequence returns an error.
For instance, I have to run several group of commands but if one these group fails then the execution of all non-finished sequence should be stopped.
Let's take the following XML chunk as an example:
Both sequence are executed in parallel.
If "mycmd -p a -l x" of "cmd group 1" fails (for whatever reason), then the execution of the sequence "cmd group 2" should be stopped.
Regards,
The text was updated successfully, but these errors were encountered: