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:

  • 'Start Process' (a necessary step to start the workflow which is mandated by the Process Definition Tool); and
  • system prints out a letter (automatic);
  • User puts the letter in an envelope and posts it (manual); and
  • 'End Process' (a necessary step to end the workflow which is mandated by the Process Definition Tool).

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:

  • traverses from 'system prints out a letter' to 'user puts the letter in an envelope'; and
  • traverses from 'user puts the letter in an envelope' to 'end process'.

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:

  • a Transition Instance 'coming in', i.e. will be the 'to' Activity Instance on a Transition Instance; and
  • a Transition Instance 'going out', i.e. will be the 'from' Activity Instance on a Transition Instance.

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)
AttributeKeyNullableDescriptionDDL Type
transitionInstIDYesNoThe unique identifier of a workflow transition instance.SVR_INT64
transitionID NoThe unique identifier of a workflow transition as described in the process definition.SVR_INT64
processInstanceID NoThe unique identifier of the workflow process instance that this transition instance is associated with.SVR_INT64
fromActivityID NoThe unique identifier of the activity that the transition is from.SVR_INT64
toActivityID NoThe unique identifier of the activity that the transition moves the workflow process to.SVR_INT64
vote NoA boolean value to indicate whether the transition should be followed or not. Transitions defined in the process definition with no rule condition will always have this value set to true. Other transitions will have their rule conditions evaluated and this value will be based on the result of this evaluation, true if the transition should be followed, otherwise false.SVR_BOOLEAN
iterationID  An Transition contained within a loop may have multiple instances (one for each iteration of the loop) - this ID allows them to be distinguished from one another.SVR_INT64
lastWritten   SVR_DATETIME
Foreign Keys (2)
ChildParent
TransitionInstance.processInstanceIDProcessInstance.processInstanceID
TransitionInstance.iterationIDIteration.iterationID
Indices (3)
Index NameAttributes
TrnsInstPrcInstIdxprocessInstanceID
IND__1336994267transitionID
IND__339173085iterationID
Related Pages (17)