Reply To: Starting and stopping evasion

NodeCanvas Forums General Discussion Starting and stopping evasion Reply To: Starting and stopping evasion

#13980
Gavalakis
Keymaster

Hello again,

Thanks for the follow up and I am glad you’ve found the problem.
For your convenience and to avoid possible confusion:
– Setting the Parallel to “First Failure” like you did, will make the Parallel continue exeuction until the first “Failure” is returned from a child node, in which case, the Parallel will cease execution and return Failure as well.
– Setting the Parallel to “First Success Or Failure”, will basically make the parallel cease execution *as soon* as ANY child node return either Success or Failure (which is the case most of the times).

The most common policies to use are indeed “First Failure”, then “First Success” if you want the inverse.
“First Failure Or Success” is only usefull if you want the Parallel to “bail out” and return as soon as any child is basically finished regardless of Success or Failure status.

Thanks.

Join us on Discord: https://discord.gg/97q2Rjh