Else If

The Else If action An instruction within a botflow. adds an Else If Statement to a botflow Automated steps that you can design for each bot that will run. between If and End If statements, executing or skipping a sequence of actions depending on a specific condition that varies from the If statement settings.

Use Else If statements to configure botflows to check:

Add an Else If action to a Botflow:

  • Using the Project Pane if the Else If action does not require a target.
  • Using the target Target Selector if the Else If action requires a target.

Also review:

Add an Else If action to a botflow using the Project Pane

This example provides the steps necessary to add an Else If action to a botflow using the Project Pane.

To add an If action to a botflow:

  1. On the Actions list, click Flow and then click Else If from the Logic list.
  2. The Else If Action Builder window displays.
  3. Set the Else If settings.

    ElseIf: Select the first half of the Else If group statement from the drop-down list.

    Of these are: Select the second half of the Else If group statement from the drop-down list.

    Plus Sign: Select to add a Condition or Group to the Else If statement.

    Condition (number): Type the Items to compare and select a Comparison statement.

    If needed, click the Rules checkmark.

  1. If needed, adjust the Run Switch setting to create the action without running it.
  2. Optionally, add an action note.
  3. Click OK to add the Else If action to the botflow.

Add an Else If action to a botflow using the Target Tool

This example provides the steps necessary to add an Else If action to a botflow.

To add an If action to a botflow:

  1. Drag the Target Selector from the Build Pane Area to add new actions and edit existing actions. The Build Pane displays after you select a targeted element in a Windows application. The center of the Build Pane is referred to as the Task Editor Pane. and drop it onto an application to display the Target Preview.
  2. Click Else If from the Logic list.
  3. The Else If Action Builder window displays.

  1. Set the Else If settings.

    ElseIf: Select the first half of the Else If group statement from the drop-down list.

    Of these are: Select the second half of the Else If group statement from the drop-down list.

    Plus Sign: Select to add a Condition or Group to the Else If statement.

    Condition (target): Select the target Comparison statement.

  1. If needed, adjust the Rule settings to modify how Nintex Bot finds the application target.
  2. If needed, adjust the Timing settings to fine tune how the action runs.
  3. View the action Details settings.
  4. If needed, adjust the Run Switch setting to create the action without running it.
  1. Optionally, add an action note.
  2. Click OK to add the If action to the botflow.

Else If Action field and button descriptions

Comparison option descriptions

Else If statement configuration descriptions