Adding an Action in a Rule Script

Procedure

  1. Locate the flow ruleset ().

    For more information, see Locating the Flow Ruleset

  2. Expand the flow ruleset node, the Rule Scripts folder and double-click the rule script node.

  3. In the rule script editor, in the Actions section choose the Add icon and in the drop down menu expand an action type node and choose a definition or alias.

  4. Depending on the action type you choose, the syntax appears.

  5. To edit values, choose the existing alias or definition and in the drop down menu choose an alternative definition or alias.

  6. You can also enter your desired value in the inline text box.

  7. Save the changes.

  8. If you choose If-Else-If or While action type, edit the default condition Operation.isSuccessful () Equals True .

  9. To edit the default rule condition:

    1. Choose the LHS value: Operation.isSuccessful() and in the drop down menu choose a Definition or an alias.

    2. Choose the comparator: Equals and choose a comparator in the drop down menu.

      More Information: List of Return Types and Comparator Choices for Conditions

    3. Choose the RHS value after the comparator and in the drop down menu choose a definition or an alias. You can also choose <Add a new expression> to add compound expressions.

      More Information: Working with Complex Expressions

More Information

Working with a Rule Script