Next Step Evaluation Logic (Magic xpi 3.x)
The following section describes how Magic xpi determines the next step to run when there are a number of siblings:
-
First, all Parallel and Stand-alone steps are executed in parallel based on the step condition, if one exists.
-
Second, linear steps with a condition are evaluated in left-to-right order.
-
The first linear step with a True condition will be executed.
-
If no linear step with a condition exists or all linear step conditions return False, the left-most linear step with no condition will be executed.
-
If no such step can be found, then the linear path of the flow is finished.