Show TOC

Background documentationExecute Action Locate this document in the navigation structure

 

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
  • Class

    • Employee.setBonus( 100 )

    • Order.setTotalCost( 1000 )

  • Schema

    • Execute : : CallCharges/ConnectionProvider = {A}

Typical Uses

To execute methods on some of the objects when a condition is satisfied. In such cases, when the action is just to execute some methods on objects, 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