Reference > Rule Languages > ILOG Rule Language > IRL Keywords > completionflag

Summary

The keyword used to declare a completion flag in a ruleflow task. This keyword is used in a task definition.

Syntax

completionflag = value; 

Description

The completionflag attribute can be used to specify a Boolean value that will be evaluated after the task body finishes its execution. If this Boolean value is true, then the task is completed; its final actions, if any, are executed, and the ruleflow execution continues. If the Boolean value returns false, the task is suspended: its final actions are not executed, the ruleflow execution is suspended, and the program returns to the caller of the ruleflow execution. When the ruleflow is executed again, it starts from this suspended task.

See Also

flowtask, functiontask, ruletask