Adding an Action in a Rule Script
Procedure
-
Locate the flow ruleset ().
For more information, see Locating the Flow Ruleset
-
Expand the flow ruleset node, the Rule Scripts folder and double-click the rule script node.
-
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.
-
Depending on the action type you choose, the syntax appears.
-
To edit values, choose the existing alias or definition and in the drop down menu choose an alternative definition or alias.
-
You can also enter your desired value in the inline text box.
-
Save the changes.
-
If you choose If-Else-If or While action type, edit the default condition Operation.isSuccessful () Equals True .
-
To edit the default rule condition:
-
Choose the LHS value: Operation.isSuccessful() and in the drop down menu choose a Definition or an alias.
-
Choose the comparator: Equals and choose a comparator in the drop down menu.
More Information: List of Return Types and Comparator Choices for Conditions
-
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
-