Make a step conditional

If necessary, create conditional criteria that define how an operational step is executed.

Before you begin

Create a pattern or select a pattern that you want to modify.

Role required: admin or sm_admin

About this task

You can define prerequisite conditions, filtering criteria, matching criteria. If required, you can add more than one condition to the same step.

Procedure

  1. Double-click an entry in one of these locations:
    • the Identification Sections or Connectivity Sections for Service Mapping
    • the Step window for Discovery
  2. Click the Set Precondition check box.
    Not all operations allow you to use preconditions.

    Set Precondition check box.
  3. In the first condition field, enter the required value. For example, a variable name.

    Define precondition criteria.
  4. Select an operator from the list.
    If you select Is Empty, the second field is rendered irrelevant and disappears.
  5. To add more conditions, click the plus icon next to the Set Precondition check box icon and define the criteria.
  6. If you define multiple conditions, set the logical relationship between them by clicking the AND or the OR icon.
  7. Define if the criteria must be satisfied or not for the step operations to run: from the If precondition is list, select True or False.