Show TOC

Execute ActionLocate this document in the navigation structure

Use

Execute is an action type that can be used to run methods on objects. If the methods are static, the objects on which the methods are defined need not be asserted into the Engine.

Syntax

Any public Java method on any of the classes and XML schema in the project class path

Examples

Execute :: Employee.setBonus( 100 )

Execute :: Order.setTotalCost( 1000 )

Execute :: CallCharges/ConnectionProvider = {A}

Typical Uses

In such cases, when the action is just to execute some methods on objects when a condition is satisfied, then this action type is useful.

Clarification

When the state of a class used in a project is changed, the class should be reloaded so as to avoid discrepancies between the ruleset files and the actual classes