Show TOC

Rule ScriptLocate this document in the navigation structure

Use

A rule script is a reusable artifact within a flow ruleset and is a sequence of actions. It is associated with other activities in a flow ruleset, and is triggered when the conditions listed in the preceding activities are satisfied.

A rule script can contain any of the following action types:

Example

If the percentage scored by the student is less than 35, set grade = Fail.

In the example above when the condition gets satisfied the action : set grade = 35 is triggered. You can capture this action in a rule script and execute it in a rule flow.

Rule Flow