Action part of a technical rule
Actions can create, remove, and modify objects.
The keyword then is used to specify the start of the action part of a rule. The action part of a rule is composed of IRL statements that can, for example, create, remove, and modify objects.
For controlling the flow of the action part of a rule, the ILOG® Rule Language (IRL) includes statements for:
controlling execution (
if/else)making loops (
for,while)branching (
break,continue)handling exceptions (
try,catch,finally)
These statements follow the Java™ language
specification. You can also add an optional else clause
in the action part of a technical rule.