2022 June Release

Struct COOWF@1.1:WorkFlowStateActionList Permanent link for this heading

This struct is used to configure action which will be executed when the state of the activity instance was changed

Additional Information

Properties Permanent link for this heading

Type

Property

Name

Action

wfwaction

Action

SoftwareComponent

wfwcomponent

Software Component

string[]

wfwexpression

Expression

Object[]

wfwobject

Object(s) of Action

WorkFlowWorkScope

wfwscope

Scope of Action

ScriptComponentObject

wfwscriptobj

Script

ActivityInstanceState

wfwstatenew

New State of Activity

ActivityInstanceState

wfwstateold

Old State of Activity

Properties Permanent link for this heading


Action (COOWF@1.1:wfwaction) Permanent link for this heading

Defines the action that is executed for this work item of the activity. This action is executed for the objects in property wfwobject. If this property does not specify an object, the action is executed for the objects of the process. Property wfwscope defines which object of the process is used. Instead of an action an ActiveX script can be specified for the work item in property wfwscriptobj.
Note: The user must have access right AccTypeExecWorkFlow for the action object in order to execute the action. By default this right is deactivated for all actions. You can activate this access right by assigning ACL WorkFlowActionACL to the actions concerned.

Action COOWF@1.1:wfwaction

Additional Information


Software Component (COOWF@1.1:wfwcomponent) Permanent link for this heading

SoftwareComponent COOWF@1.1:wfwcomponent

Additional Information


Expression (COOWF@1.1:wfwexpression) Permanent link for this heading

Defines the expression that is executed for this work item of the activity.

The object of the process is passed into the Local Scope as variable object.

string[] COOWF@1.1:wfwexpression readonly(ui)(
  optional object object,
  optional ProcessInstance process,
  optional ActivityInstance activity,
  optional integer workitem)

Local Scope: dictionary

Name

Description

object

the object of the process

process

the process instance

activity

the current activity instance

workitem

the work item which is currently processes

Additional Information


Object(s) of Action (COOWF@1.1:wfwobject) Permanent link for this heading

Defines the objects used by the action of the work item stored in property wfwaction. If this property does not have a value, the action is executed for the objects of the process. Property wfwscope defines which object of the process is used in that case.

Object[] COOWF@1.1:wfwobject

Additional Information


Scope of Action (COOWF@1.1:wfwscope) Permanent link for this heading

Defines the context the action of the work item is executed in. The initial value is WFWS_FIRST ("First of Process Objects").

WorkFlowWorkScope COOWF@1.1:wfwscope

Additional Information


Script (COOWF@1.1:wfwscriptobj) Permanent link for this heading

Defines the ActiveX script that is executed for this work item of the activity. This script is executed for the objects in property wfwobject. If this property does not specify an object, the action is executed for the objects of the process. Property wfwscope defines which object of the process is used.

ScriptComponentObject COOWF@1.1:wfwscriptobj

Additional Information


New State of Activity (COOWF@1.1:wfwstatenew) Permanent link for this heading

The new state of the activity instance

ActivityInstanceState COOWF@1.1:wfwstatenew not null

Additional Information


Old State of Activity (COOWF@1.1:wfwstateold) Permanent link for this heading

The old state of the activity instance

ActivityInstanceState COOWF@1.1:wfwstateold

Additional Information