Search

If Else And End If

Articles

IF-Else-EndIf nodes are condition nodes which are used to specify any condition at the task level.

Image description

For example, if the specified condition in IF node is satisfied, then the node following it will be executed, else the node following the Else node will be executed. The EndIf node is used to end the condition loop.

Properties Of If Else And EndIf Nodes

Image description

  • Name: Name of the node. A default name is displayed in this field, which the user can edit according to the task and the intent of using the node.
  • Description: A short note on the purpose of the node.

IF Node: Actions

Image description

  1. Double-click on the IF node.
  2. Click on the Actions tab.
    1. The actions specified in this screen are responsible for the execution of the node following the IF node.
    2. The user can select either All or Any option from the list box (1). If the All option is selected, then all the conditions specified in the Actions screen must be satisfied for the execution of the node following it. If the Any option is selected, then the node following the IF node is executed when any one of the specified conditions in the Actions screen is satisfied.
    3. Click on the + icon and select the type of the input value (V = Variable, C = constant, S = Secure Vault, E = Expression) from the list box (2) and the provide the details in the highlighted box (3).
    4. Select any one of the following options from the list box (4) based on the requirement:
      1. ==
      2. has
      3. !=
      4. !has
    5. Select the C = constant option from the list box (5) and the provide the required value (by doing this, the user specifies that the IF condition will be executed when the input variable contains the specified value in the text box (5)).
    6. Click on the Close icon.

Refer to Email Automation sample task to know how to use If, Else and Endif nodes in a task.

Did you find what you were looking for?