Show TOC

Procedure documentationAdding an Action in a Rule Script Locate this document in the navigation structure

Procedure

  1. Locate the flow ruleset (Where is my 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.

    Note Note

    You cannot change the action type once you have selected it.

    End of the note.
  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: Creating and Editing Complex Expressions

      Note Note

      To enter static values, choose each component in the default rule condition (Operation.isSuccessful() Equals true) and enter the value in the inline text box.

      End of the note.

Note Note

In the context menu of an action, you have the following options:

  • Delete Row

  • Move Up

  • Move Down

  • Insert Actions

  • Copy Actions

  • Paste Actions

End of the note.