Skip to main content
Blocks under 'Logic' category

This article helps you understand blocks available under 'Logic' category in AppBuilder Editor.

Updated yesterday

If / Else / Elseif

See example to understand how to use 'If/Else/Elseif' block.

Block for 'if', 'else if', or 'else' condition. If a value is true, then do some statements. You can also add 'else' and 'else if' condition if required.

The setup screen appears when you click the gear icon, and closes when you click it again. To add and 'else' and/or 'else if' condition, drag and drop them below the 'if' block in the setup screen.

Parameter: a condition

Comparison

See example to understand how to use 'Comparison' block.

Block for comparison operations. Returns true if both inputs equal each other. Available operators are '=' (equal to), '≠' (not equal to), < (less than), ≤ (less than equal to), > (greater than), ≥ (greater than equal to).

Parameters:

  • a variable or a value.

  • an operator.

  • a variable or a value.

Logical Operator

See example to understand how to use 'Logical Operator' block.

Block for logical operations. Returns true if both inputs are true. Available operators are 'and', 'or'.

Parameters:

  • a condition.

  • an operator.

  • a condition.

Negation

Returns true if the input is false. Returns false if the input is true.

Parameters:

  • a condition.

True / False

Block for true or false. Returns either true or false.

Null

Block for null data type. Returns null.

Test Block

Block for testing a condition. Check the condition in 'test'. If the condition is true, returns the 'if true' value; otherwise returns the 'if false' value.

Parameters:

  • a condition

  • a variable or a value

  • a variable or a value


Related Article: AppBuilder Code Editor


Did this answer your question?