(Deprecated) completionflag

The completionflag keyword is used to declare a Boolean value to suspend execution in a ruleflow task.

Purpose

Deprecated feature:

Deprecation icon Ruleflow completion flag is deprecated as of V8.6.0.0. This feature will be removed in a future release. See Deprecated and removed features for migration details.

Using the completionflag keyword, you can control how a ruleflow task handles execution depending on the value returned by this flag.

Context

Task definitions

Syntax

completionflag = value; 

Description

Deprecated as of 8.0.1

Use the completionflag attribute to specify a Boolean value that is evaluated after the task body finishes execution.

  • If this Boolean value is true, 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.