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.
Any public Java method on any of the classes and XML schema in the project class path
Class
Employee.setBonus( 100 )
Order.setTotalCost( 1000 )
Schema
Execute : : CallCharges/ConnectionProvider = {A}
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.
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