img

The If component uses ascript or Javascript expression set in the condition setting property to determine the condition and then branches the processing of the workflow.

If true, the component specified in the green ▼ (if clause) is treated as the successor component; if false, the component specified in the purple ▼ (else clause) is treated as the successor component.

You can set the following properties for the If component:

condition setting

Specifies settings for condition judgment.

use javascript expression for condtion check

Specifies whether to use a javascript expression or a shell script as a conditional expression to determine true/false, as in the retry determination for the Task component.

  • When invalid
    img
    When disabled, a drop-down list appears to select a shell script.
    True/False is determined using the shell script specified here as the conditional expression.

  • When enabled
    img
    When enabled, you can write javascript expressions.
    True/False is determined using the expression entered here as the conditional expression.


Return to Component Details

Updated: