Table Description |
Transition Instance:
An attempt to navigate from one activity to another.
A transition is the path between two activities (a 'from' activity and a 'to' activity) - it specifies that once the 'from' activity has been completed, the 'to' activity should be started. If you imagine activities as 'boxes', then transitions are the 'lines' between these boxes. A Transition Instance records the attempt to navigate the transition between two Activity Instances (the 'from' Activity Instance and the 'to' Activity Instance). Transitions may be conditional, i.e. once the 'from' activity has been completed, the 'to' activity should only be started if some condition (specified by the transition) is met. A Transition Instance row will be created for each transition evaluated, and for conditional transitions, the Transition Instance records whether the transition's condition was met. Example You define a workflow (Process Definition) to allow correspondence to be sent to customers whenever their payment details change. The activities defined in your workflow are:
The transitions in your workflow are a straightforward progression through the activities in the order listed above. Person John Smith's payment details change due to an increase in rates. This increase raises an event which causes the Workflow Engine to enact your workflow and create a Process Instance. The Workflow Engine executes the 'Start Process' activity and creates an Activity Instance. This special activity performs initialization of the workflow and completes. The Workflow Engine identifies the outgoing transition from 'Start Process' and traverses the transition. The Workflow Engine creates a row on Transition Instance to record this traversal, linking the 'Start Process' activity to the 'system prints out a letter' activity. The system prints out the letter and completes the activity. Similarly, upon completion of the relevant Activity Instances, the Workflow Engine:
Technical Notes See the Workflow Guide for further information. There is no 'Activity' database table. An activity is an XML element defined within the Process Definition metadata. Straightforward Activity Instances will (as the workflow executes) typically have:
Activities which are associated with split or join points may have multiple such Transition Instances. A Transition Instance identifies the 'from' and 'to' activities, but does not link (directly) to the Activity Instances themselves. |
Relationship Diagram |
Click the diagram to manipulate and zoom. Traverse the diagram using Click-and-Drag motions. |
|
Attributes (8) |
|
Foreign Keys (2) |
|
Indices (3) |
|
Related Pages (17) |