Condition block is used to describe program branching based on user-defined conditions. Similar to the Action block, within the Condition block, one or multiple functions are described.
This block has one input and two outputs: Output + and Output -, allowing it to be placed on a flowchart and indicating the direction of program flow.
![]() |
Example of including the Condition block in a flowchart |
The distinctive feature of the block is the presence of the system variable result
, located inside the block (on the right side of the editor). The variable result
cannot be deleted or copied. To operate the block, either True or False values must be assigned to the variable result
.
![]() |
Example of connecting the 'result' variable inside the Condition block |
After executing the last function within the Condition block, the program checks the value of the result
variable. If the value is True, the program proceeds to execute the block connected to the Output +. And if the value is False, the program proceeds to execute the block connected to the Output -.
![]() |
Program's execution direction based on the value of the 'result' variable |