Logic Codeblocks Reference

What's New: 2027

The Logic category provides essential building blocks for creating conditional statements and boolean operations in your visual programs. Use these blocks to make decisions, compare values, and control program flow based on true/false conditions.

Logic Toolbox

Logic codeblocks are used to create "if-then-else" statements and other conditional logic.

If

If codeblocks are used to create conditional logic for input forms and rules. They are use to define specific actions or behaviors that are triggered based on whether a condition is met.

If codeblocks can include additional 'Else' statements, which allows multiple conditions to be validated.

Else modifiers can be used to create conditional logic for input forms and rules. They are used to define specific actions or behaviors that are triggered based on whether a condition is met.

If-else can return an action, when the condition is not evaluated as True.

The Else-if modifier can include additional 'else' statements, which allow multiple conditions to be validated.*

Compare Codeblock

The Compare codeblock compares two inputs and returns True if the inputs satisfy a comparison operator.

Logical Operator Codeblock

The Logical Operator Codeblock combines two inputs and returns True depending on the operator.

Not Codeblock

The Not codeblock converts a boolean to its opposite.

Boolean Codeblock

The Boolean codeblock acts as an input, with a choice of 'true' or 'false'.

Or, if you prefer a graphical representation of the boolean use this codeblock

Nothing Codeblock

The Nothing codeblock (null) provides the means to handle invalid input.

Test Codeblock

The Test codeblock is a tool to evaluate and validate an output.