If Then Else

Meet the If Then Else system action.

The user first defines an action result, selects Is Equal To, Is Not Equal To, Is Empty or Is Not Empty in the select input below this action result, and checks whether it is equal or not, and then checks whether it is empty or not, according to the result of this condition. If true, action(s) added to If Actions with Add If button, if false, action(s) added to Else Actions with Add Else button are executed. While defining an action inside the If or Else condition, you can also add the IfThenElse action to define an Else if within these conditions.

For example, if the ReadFromLocalStorage action and the Is Not Empty condition are selected as the condition of this action, the action specified in the If block is executed if the desired key value is available in Local Storage, depending on this condition. If the desired key value does not exist in Local Storage, the action specified in Else is executed by entering the Else block.

Select the element to add action. Click +Add Action under the Properties panel.(A)

Click OnClick → Condition → If Then Else and create the If Then Else action.(A)

  • ActionResult: The action to be specified for the desired condition is selected.

  • Select Input: The condition is determined by the options Is Equal To, Is Not Equal To, Is Empty or Is Not Empty.

  • If Actions: If the condition is true, the action(s) to run is selected.

  • Else Actions: If the condition is false, the action(s) to be executed is selected.

Within the created action, Symbol Picker (B) is used to select the parameter input method for the action.

The IfThenElse action is accessible to all users logged into the platform.

You can perform various operations on the Context menu (C) for the actions you create.

You can easily copy the action with the Copy option. This way, you gain speed where action repetition is required.

You can add a confirmation message for the action to run using the Add Confirmation option.

Also, with the Add Condition feature, you can specify certain conditions under which the added action should execute.

You can easily delete the action created with the Remove option.

Last updated