Exit State Icon Properties
From Flowcode Help
Jump to navigationJump to searchAn 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.