Exit State Icon Properties

From Flowcode Help
Revision as of 11:02, 4 April 2023 by MartinW (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

An Exit State is a special type of state icon that is used to leave the macro and return to the macro that called this macro.


During simulation or when using ICD, the state will be drawn with a thick orange outline when it is executing and when its exit transitions are being evaluated.

First, the state function, if it exists, will be executed.

Next, the transitions will be evaluated and the first one with a true condition is drawn in orange with other transitions (even if they are true) drawn in blue.

The program will then execute this first true transition.

If all transitions leaving the state are false, then they will all be shown as blue and the state with be executed again.