The If Block represents a control flow operation. It is used when a program is needed to branch out outcomes or further actions dependent on mutually exclusive conditions.

The block can be found in the Block Library under the Control Flow section.

Block Library


The If block contains a condition port. This allows it to act on a link.

The inflow gate can be linked to the Start block, or to another block that has an outflow gate providing input to the If block.

The outflow gates linked to each possible output are:

  • then - Follows a course if the condition is met.
  • else- Follows a course if the condition is not met.
  • next – Goes to the next action regardless of the then/else outcome.
If Block Example