|
<< Click to Display Table of Contents >> If |
![]() ![]()
|
The If activity directs the workflow into one flowchart or the other, depending on whether a check results in true or false.

The check takes place in the “Input” section in the “Condition” field.
Beispiel mit JavaScript

In the example shown in the image, JavaScript Condition line 4 demonstrates that a Boolean comparison is returned as the output value. So if strErstellt = 0, the return value is true, otherwise it is false.
If the check results in true, the workflow branches into the “Then” section (image: If Activity); otherwise, it branches into the “Else” section.
The result of the check can optionally be stored in a variable in the “Output” section in the “Result” field.
