Wednesday, February 28, 2007

Manually executing the rules engine

I still need to work on this, but this is the code snippet that seems to show how to do it.

RulesResult rulesResult =
Interrule.executeDynamicRules(ruleSetId, null,
     RulesEngine.kNormal,
     Arrays.asList(new Object[]{ globalsRDO, someOtherRDO });
The execution of the rules result is in the rulesResult struct.

0 comments: