2022 April Release

Enum COOWF@1.1:ActivityInstanceState Permanent link for this heading

This enumeration provides the different states an activity instance can have.

Additional Information

Values Permanent link for this heading

Name

Value

Description

ACTINST_WAITING

1

Waiting

The activity is waiting until the previous activities have been completed. Activities with the state ACTINST_WAITING are not displayed in a worklist.

ACTINST_STARTABLE

2

Startable

The activity is displayed in the work lists of all participants as long as the first participants starts the activity.

ACTINST_STARTED

3

Started

The activity is started and the work items can be executed by the current participant. This state remains until a work item that completes the activity is executed or the activity is delegated, suspended or completed manually.

ACTINST_SUSPENDED

4

Suspended

An activity with this state is displayed in the suspended list of the worklist. The activity remains in this list until the suspension period expires or the activity is activated.

ACTINST_COMPLETED

5

Completed

Completed activities will no longer be displayed in the worklist and the next activities will get the state ACTINST_STARTABLE

ACTINST_TERMINATED

6

Rejected

ACTINST_DELEGATED

7

Delegated

If an activity is delegated the original activity is duplicated. The duplicate will be assigned to the selected participant an gets the state ACTINST_STARTABLE. The original activity retrieves the state ACTINST_DELEGATED and will be removed from the worklist.

ACTINST_TAKENOVER

8

Taken Over

If a substitute takes over the execution of an activity a duplicate is created. The original activity receives the state ACTINST_TAKENOVER and is removed from the worklist. The substitute will be assigned as participant of the duplicate.

ACTINST_RETRACTED

9

Retracted

Completed activities can be retracted. The following activity gets the state ACTINST_RECTRACTED and will be removed from the worklist of the following participant. A duplicate of the completed activity is created and assigned to the participant of the original. A completed activity can be retracted until the following activity is started.

ACTINST_NOTEXECUTED

10

Not Executed

Activities which never can be executed receive the state ACTINST_NOTEXECUTED. The state is assigned after evaluation of conditions instances or case instances.

ACTINST_WAITSUBMIT

11

Waiting for Submission

An activity gets this state if the previous activity is completed and a submission date is supplied. The activity will keep this state until the submission date is expired.

ACTINST_EXTERNALSYNC

12

Waiting for External Synchronization

An activity with this states is waiting to continue until an external step is completed. The activity will be displayed in an own list in the worklist and is not executeable.

ACTINST_POSTPONED

13

Completed (Prescription)

ACTINST_ABORTED

14

Aborted

Activities which were already started and the execution was aborted by the join type of the following activities

ACTINST_RESOLVED

15

Resolved

This state is only allowed for mult instance activities which have been resolved to single activities

ACTINST_DELEGATEDMULTIPLE

16

Delegated Multiple

If an activity is delegated to multiple workflow participants the original activity is duplicated for each participant. The duplicates will be assigned to the selected participants an gets the state ACTINST_STARTABLE. The original activity retrieves the state ACTINST_DELEGATEDMULTIPLE and will be removed from the worklist.