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

Functional action statements

Functional action statements are of the form f(...) and represent function call invocations. Most predefined actions listed previously (generate(), schedule(), discard(), etcetera) belong to this class of statements. Their detailed syntax and semantics is given in the following sections. User defined functions can also be defined in BPM Events, but are not supported by the Rule Editor. The general syntax for a functional statement is:
<FunctionalStatement> ::= <funcname> "(" <argument_list> ")" ";"
For example,
sendMail("paul@acme.com","yourmanager@acme.com", "order is late",
EVT_1.orderID + " must be given higher priority");