2022 June Release

COOWF@1.1:wfcompleteexpression Permanent link for this heading

Expression When Completing the Activity

This property stores an expression that is executed in the context of the current user when the activity is completed. The expression can be used to perform modifications on the object of the process (e.g. state changes).

Note: Only properties and actions that are tagged as secure can be used within this expression.

Example:
object.ObjectLock(true, true);<br/> object.bostate = #StateToVerify;

string[] COOWF@1.1:wfcompleteexpression (
  object object,
  optional ProcessInstance process,
  optional ActivityInstance activity)

Name

Description

object

the object on which the process is running (also accessible via WFVAR_THIS)

process

the process instance (also accessible via WFVAR_PROCESS)

activity

the activity instance which was completed (also accessible via WFVAR_ACTIVITY)