Complex If Else

Compare the values of one or more variables with other specified values to determine whether one or more conditions are TRUE or FALSE. Based on the outcome, direct the logical flow of the wizard along one of two different paths (i.e., if any/all of the conditions are TRUE, follow Path A; if any/all of the conditions are FALSE, follow Path B.).

Step 1: Define the conditions

The first step in using the COMPLEX IF ELSE command to is define the conditions (i.e., set up comparisons).

  1. Choose whether any or all of the conditions must be true in order for the overall outcome to be TRUE.

  2. For each condition:

    • Enter the name of the variable whose value you wish to compare with another value.

  3. Select the type of comparison you wish to perform:

    • equals (with options to ignore letter case/use wildcards/allow close match)

    • contains (with option to ignore letter case/allow close match)

    • match regular expression (with option to ignore letter case)

    • is greater than

    • is greater than or equal to

    • is less than

    • is less than or equal to

    • begins with (with option to ignore letter case)

    • ends with (with option to ignore letter case)

    • is empty

    • is defined

  4. Enter the value with which you wish to compare the variable's value (can be entered manually or copied from values stored in variables).

  5. Indicate if you wish to perform a reverse comparison (e.g., variableIS NOT greater than or equal to 0).

  6. Add/remove conditions as required.

Step 2: Define the actions

Upon adding the complex If Else command to your wizard, you will notice that it becomes an empty "container" within the Editor Pane, waiting for you to fill it with instructions:

  1. Enter the action(s) the wizard should take if the overall outcome is TRUE

    • You can do this by dragging the required Advanced Command(s) directly into the container

  2. Enter the action(s) the wizard should take if the overall outcome is FALSE