Creating a Rule

Create a rule component to define the conditions for an orchestration.

  1. Access the Rules design page:

    • On the Orchestrator Home page, click the Rules icon. And then on the Rules design page, click the New Rule button.

      OR

    • After adding a Rule step to the grid in the Orchestration design page, click the Edit button next to the step.

    The Orchestrator Studio displays the Rule design page.

  2. In the Rule field, enter a name for the rule.

    Do not include any spaces in the rule name.

    As an alternative, you can create a new rule by copying an existing rule. To do so:

    1. Access the Rules design page from the Orchestrator Studio Home page.

    2. On the Rules design page, select an existing rule from the list of rules and then click the Copy Rule button.

    3. In the pop-up window, enter a name for the rule in the New Rule field.

    4. Click Continue.

  3. Click the Edit Description (pencil icon) button to enter a description for the rule, and then click OK.

  4. Select the Match Value drop-down menu and select one of the following values:

    • Match All. Select this option if all conditions in the rule must be met.

    • Match Any. Select this option if any conditions in the rule can be met.

  5. In the first row in the grid, complete the following columns to add a condition:

    • Rule Type. Click the drop-down menu and select String, Numeric, or Date depending on the format of the input.

    • Value 1. Enter a variable for the input name.

    • Operator. In the drop-down menu, select from the list of operands which include: >, <, >=, <=, =, !=, startsWith, endWith, contains, between, inList.

    • Literal. Click this check box to indicate a literal value.

    • Value 2. If you selected the Literal check box, manually enter a value.

    • Literal Value Type. If you selected the Literal check box, click the drop-down menu and select the format of the literal value: string, numeric, data.

  6. Add additional conditions to the rule as needed. If you add a condition by mistake, you can delete it by clicking the Remove button at the end of the row with the condition.

  7. Click the Save button.

    After adding a rule and a service request to an orchestration, you must define the actions for the rule and service request in the Orchestration design page. See Defining the Actions Between a Rule and Dependent Components for more information.