Tip #001 - Evaluation Order index

When a product moves from one element to another, ShowFlow goes through several evaluation steps. Sometimes it is important to understand these steps and know the order in which they are evaluated. For example, if you had a Trigger on exit statement that included the variable produced[E], it would be important to know that the Trigger on exit field is evaluated before the produced variable is updated.

The Evaluation Order:

  • Per event, elements are evaluated in descending order by element number 3,2,1 (Can be changed in Settings | Simulate).
  • Receive from at current element.

  • Entry condition at current element.

  • Exit condition at previous element.

  • Trigger on exit at previous element.

  • Trigger on entry at current element.

  • elqueue and produced at previous element.

  • batch at current element.

  • Receive from is executed at current element.

  • elqueue at current element.

  • Time at current element.

  • batchout at current element.

  • Exit condition at current element.

  • Send to at current element.

  • Entry condition at next element (general availability at next).

  • Trigger on exit at current element.