9. Designer Logic Blocks

Home/Warehouse Insight/App Designer/9. Designer Logic Blocks

9. Designer Logic Blocks

You are here:

The designer logic blocks are used to control process flow through the application. The following sections outline each action and provide an example of how the action can be used.

IF Block

IF is used when you want to check a condition and if true, execute additional logic.

if do

Block Configuration:

Option Description
if The condition to check.
do Place additional blocks you want executed when if condition is true.

IF Block Example

The Application Designer example below uses IF:

Form Opens

IF – ELSE Block

IF – ELSE is used when you want to check a condition. If true, execute additional blocks; if false, execute other blocks.

if do else

Block Configuration:

Option Description
if The condition to check.
do Place additional blocks to execute when if condition is true.
else Place additional blocks to execute when if condition is false.

IF-ELSE Block Example

The Application Designer example below uses IF-ELSE.:

Form Opens

IF – ELSE IF – ELSE

IF – ELSE – IF is used when you want to check a condition and if true then execute some additional blocks and if it’s false then perform another check and if that is true execute some other blocks otherwise execute some other blocks.

if do else if

Block Configuration:

Option Description
if The condition to check.
do Place additional blocks to execute when if condition is true.
else if The second condition to check if the first check is false.
do Place any additional blocks to execute if else if condition is true.
else Place any additional blocks to execute when else if condition is false.

IF – ELSE IF – ELSE Block Example

The Application Designer example below uses IF-ELSE IF – ELSE.:

Form Opens

Comparison Block

Comparison is used to compare two variables and returns true or false depending on the comparison results.

Comparison

Block Configuration:

Option Description
  The first variable to compare.
  The second variable to compare.
Operator = return true if the variables are equal; otherwise, false.
≠ return true if the variables are not equal; otherwise, false.
< return true if the left side variable is less than the right side; otherwise, false.
≤ return true if the left side variable is less than or equal to the right side; otherwise, false.
> return true if the left side variable is greater than the right side; otherwise, false.
≥ return true if the left side variable is greater than or equal to the right side; otherwise, false.

Comparison Block Example

The Application Designer example below uses Comparison:

Form Opens

Logical Comparison Block

Logical Comparison is used to compare two variables and returns true or false depending on the logical comparison results.

and

Block Configuration:

Option Description
  The first variable to compare.
  The second variable to compare.
Operator

and return true if both variables are true; otherwise, false.

or return true if either variable is true; otherwise, false.

Logical Comparison Block Example

The Application Designer example below uses Logical Comparison:

Form Opens

Not Block

Use Not to reverse/negate a Boolean variable. This block must be used in conjunction with another variable.

not

Block Configuration:

Option Description
< input > The variable to negate.

Not Block Example

The Application Designer example below uses Not:

Form Opens
Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.
Need help?

Leave A Comment

Go to Top