Table Description
Parallel Activity Occurrence: Extension of Activity Instance state data for Parallel Activity Instances - keeps track of which Workflow Data Object the Instance is processing.

A Parallel Activity in a Workflow Process Definition allows a workflow to perform the same step on multiple data items in parallel. The data items are obtained from the Parallel List WDO and one Activity Instance is created for each item in the list. The Parallel Activity Occurrence record tracks which item in the list is associated with each Activity Instance.

Example

Your department is experiencing a significant amount of claim fraud, where clients are boosting their eligibility by claiming to have more dependents than they actually do. You define a workflow (Process Definition) to check the details for all dependents listed on claim forms. The checks are time-consuming and you want to process claims quickly, so you simultaneously assign each dependent to an individual case worker for investigation (modeled as a Parallel Manual activity).

Person John Smith submits a claim form, indicating that he has three dependents. This causes your workflow to be enacted, creating a Process Instance and supplying the list of dependents as 'enactment data'.

The system transitions to the first Activity definition in your workflow. The Workflow Engine detects that this is a Parallel Manual Activity and divides up the list of dependents - creating one Activity Instance for each dependent in the list.

It also creates a Parallel Activity Occurrence record for each Activity Instance, relating that instance to the dependent it will be processing. Specifically, it records the position of that dependent in the supplied dependents list).

The Workflow Engine creates Tasks for each of the Activity Instances, separately allocating those Tasks to independent caseworkers. The Workflow Engine uses the Parallel Activity Occurrence information to populate each Task with the correct details for the respective dependent.

Technical Notes

See the Workflow Reference Guide for further information.

Relationship Diagram
Click the diagram to manipulate and zoom. Traverse the diagram using Click-and-Drag motions.
Attributes (3)
AttributeKeyNullableDescriptionDDL Type
occurrenceCount NoThe number of the index from the parallel activity list workflow data object used to create this parallel activity instance.SVR_INT32
activityInstanceIDYesNoThe unique identifier of a parallel activity instance workflow data object.SVR_INT64
lastWritten   SVR_DATETIME
Foreign Keys (1)
ChildParent
ActivityOccurrence.activityInstanceIDActivityInstance.activityInstanceID
Related Pages (5)