Execute Ruleset Action

Use

The Execute Ruleset and Execute Flow Ruleset rule script actions result in evaluating and executing another ruleset - either a rete ruleset or a flow ruleset. This action is similar to invoking a ruleset, except that the current value of objects, including variable definitions, are available to the ruleset being invoked (instead of their initial values). If the invoked ruleset changes the value of any of the objects, these are reflected in the initial Flow Ruleset.

Syntax

Execute Ruleset "Ruleset-Name" [on Object-Name]

Example

For Each (purchaseOrderSchema:item)

 
 

Execute Ruleset Discount Ruleset On purchaseOrderSchema:item