Try OpenEdge Now
skip to main content
BPM Events User's Guide
The rule language : Controlling the actions of a rule : Syntactic structure of rule actions
 

Syntactic structure of rule actions

The rule language provides some scripting capability in order to control the execution flow of actions. The Action part of a rule is structured as a sequence of statements:
<RuleActions> ::=
    "{" <ActionStatement1> <ActionStatement2>..."}"
Or more concisely:
<RuleActions> ::=
    "{" (<ActionStatement>)* "}"
There are six classes of Action Statements:
*Functional action statement.
*Declaration action statement.
*Assignment action statement.
*Conditional action statement.
*Compound action statement.
*Iterative action statement.
The general syntax is:
<ActionStatement> ::=
                    <FunctionalStatement> |
                    <DeclarationStatement> |
                    <AssignmentStatement> |
                    <ConditionalStatement>
                    <CompoundStatement> |
                    <IterativeStatement> |