IRL keywords
The ILOG® Rule Language defines IRL keywords to support rule authoring, management, and execution.
- after
The after keyword defines a binary temporal constraint in the condition part of a rule in an event condition. - agendafilter
The agendafilter keyword defines an agenda filter in a rule task. - algorithm
The algorithm keyword defines an execution mode. - allrules
The allrules keyword sets all the rules in a rule task as eligible to be executed. - as
The as keyword defines a type conversion. - before
The before keyword defines a binary temporal constraint. - body (in flowtask)
The body keyword defines the body of the ruleflow. - body (in action task)
The body keyword defines the body of an action task. - body (in ruletask)
The body keyword defines the body of the rule task. - break
The break keyword exits a loop. - case
The case keyword identifies a statement block in a switch statement. - catch
The catch keyword designates exceptions that will be caught if thrown. - collect
The collect keyword constructs a collection object. - (deprecated) completionflag
The completionflag keyword is used to declare a Boolean value to suspend execution in a ruleflow task. - continue
The continue keyword skips an iteration. - default (in ruletask)
This default keyword selects the RetePlus execution mode for a rule task. - default (in switch)
This default keyword executes the else condition statement. - dynamic
The dynamic keyword specifies the dynamic ordering of rules. - dynamicselect
The dynamicselect keyword specifies the dynamic selection of a rule. - else (in if)
In functions or rule actions, the else keyword executes an alternate statement block. - else (in rule)
In rule definitions, the else keyword executes an alternate action block depending on the value of an evaluate statement. - evaluate
The evaluate keyword specifies tests on objects. - event (in rule conditions)
The event keyword declares an event condition or an event object. - event (in rule actions)
The event keyword declares an event condition or an event object. - exists
The exists keyword tests whether a class condition is true. - filter
The filter keyword defines an agenda filter. - finalaction
The finalaction keyword declares a final action. - finally
The finally keyword introduces a control block that is executed after a try block. - firing
The firing keyword determines whether all the rules are executed. - firinglimit
The firinglimit keyword specifies the number of rules to be executed. - flowtask
The flowtask keyword declares a subflow task. - for
The for keyword introduces an execution loop. - foreach
The foreach keyword executes a statement block several times. - fork
The fork keyword executes several statement blocks sequentially. - from
The from keyword supports relations between objects. - function
The function keyword defines a function to be called. - functiontask
The functiontask keyword declares an action task. - goto
The goto keyword jumps to another ruleflow statement. - hasher
The hasher keyword defines a hashing expression. - hierarchy
The hierarchy keyword defines a hierarchical property. - if
The if keyword executes one of two statement blocks. - if (in ruleflow)
The if keyword executes one statement block or another, depending on a Boolean expression value. - import
The import keyword imports a Java class or package into a rule file. - in
The in keyword supports relations between object values. - in — !in (predicates)
In any expression, the in keyword tests whether a value belongs to a collection and or the !in keyword tests whether a value does not belong to a collection. - in (ruleset parameter)
The in keyword defines a ruleset parameter. - initialaction
The initialaction keyword declares an initial action. - inout
The inout keyword defines a ruleset parameter that is both an input parameter and an output parameter. - insert
The insert keyword inserts an object into the working memory. - instanceof
The instanceof keyword tests whether an expression can be cast into a type. - instances
The instances keyword declares class instances. - isknown
The isknown keyword tests whether a class attribute has an initialized value. - isunknown
The isunknown keyword tests whether a class attribute has an initialized value. - (deprecated) iterator
The iterator keyword specifies the iterator for the objects on which the sequential execution mode is to be applied. - literal
The literal keyword specifies a literal ordering of the rules executed in a rule task. - (deprecated) logical (in insert)
The logical keyword declares the type of the object to be inserted into the working memory. - logical (in wait)
In a wait statement, the logical keyword designates that conditions must remain true for a wait statement to become true. - match
The match keyword deals with hierarchical property values. - matchedclasses
The matchedclasses keyword specifies the classes on which the sequential execution mode is to be applied. - modify
The modify keyword modifies objects and updates the agenda. - new
The new keyword creates a new object or array. - not
The not keyword tests the negation of a rule condition. - occursin
The occursin keyword defines a unary temporal constraint in an event condition. - ordering
The ordering keyword sets the order of the rules executed in a rule task. - out
The out keyword defines a ruleset output parameter. - overriding, overrides
The overriding and overrides keywords declare overriding relations. - package
The package keyword declares a package. - priority
The priority keyword controls the sequence of rule execution. - property
The property keyword declares a rule, ruleset, or ruleflow property. - propertydefinition
The propertydefinition keyword predeclares the types of rule properties. - refresh
The refresh keyword requests a refresh of the agenda. - retract
The retract keyword removes an object from the working memory. - return
The return keyword returns to the caller. - rule
The rule keyword declares a rule. - rule (in ruletask)
The rule keyword sets a single rule as eligible for execution. - ruleset
The ruleset keyword declares a ruleset. - ruletask
The ruletask keyword declares a rule task. - scope
The scope keyword defines a scope in a rule task. - select
The select keyword selects a rule in a rule task. - sequential
The sequential keyword specifies the execution mode of a rule task. - sorted
The sorted keyword specifies a sorted ordering of rules executed in a rule task. - switch
The switch keyword executes one statement block or another according to an integer expression value. - then
The then keyword declares the action part of a rule. - throw
The throw keyword throws an exception. - timeof
The timeof keyword accesses an event timestamp. - timeout
The timeout keyword is associated with a wait statement. - try
The try keyword executes control statements. - until
The until keyword specifies an absolute time. - update
The update keyword updates an object. - use
The use keyword imports an IRL package or artifact. - variables
The variables keyword declares variables. - wait
The wait keyword incorporates time as a rule parameter. - when
The when keyword declares the condition part of a rule. - where
The where keyword defines a constraint in a collect statement. - while
The while keyword executes a statement block. - while/break/continue (in ruleflow)
The while keyword executes a loop.
Parent topic: ILOG Rule Language (IRL)