Skip to main content

Process Instances

Overview

A Process Instance is a single execution of a process definition, representing a specific case or transaction moving through your business process. While the process definition is the blueprint, each instance is a live, running occurrence with its own data, state, and history.

Instance Properties

Each process instance has the following core properties:

PropertyDescriptionRequired
SubjectA descriptive title for this instanceYes
RegardingReference to the primary entity record this instance operates onYes
Process VersionThe version of the process definition this instance is running onYes (auto-assigned)
Parent Process InstanceReference to a parent process if this instance was started as a sub-processNo
Start DateWhen this instance was created/startedYes (auto-assigned)
Due DateWhen this instance is expected to completeNo

Subject

The Subject provides a human-readable identifier for the instance, typically derived from the related record or business context.

Regarding

The Regarding field links the instance to the primary entity record. This is the record defined as the Primary Entity when the process was created.

Process Version

Every instance runs on a specific, immutable version of the process definition. This ensures that:

  • In-flight instances are never affected by process design changes
  • You can identify exactly which version's logic is being executed
  • Historical instances can be traced back to their exact process design

Parent Process Instance

When a process is started as a sub-process from another process (via On Entering or On Exiting automation), the Parent Process Instance field links back to the calling process. This enables:

  • Hierarchical process tracking
  • Parent-child relationship visibility
  • Coordinated process completion

Process Viewer

The Process Viewer provides a visual representation of a process instance's current state and history. It displays the process flow with real-time status information for each stage.

Stage Statuses

The Process Viewer displays each stage with a status indicator:

StatusIconDescription
CompletedStage has been successfully finished
In Progress🔄Stage is currently active and awaiting completion
Not VisitedStage has not yet been reached in this instance
Overdue⚠️Stage has exceeded its due date
FaultedStage encountered an error during execution
Cancelled🚫Stage was cancelled before completion

Stage Instance History

When a process has non-linear flow—where a stage can be visited multiple times due to loops, returns, or rework—the Process Viewer tracks all instances of each stage visit.

Example: Review Stage visited 3 times

VisitOutcomeDurationAssignee
1Needs Rework2 hoursUser A
2Needs Rework1 hourUser A
3Approved30 minUser B

Each stage visit is recorded separately, capturing:

InformationDescription
Visit NumberSequential count of times this stage was entered
Entry TimeWhen this visit started
Exit TimeWhen this visit completed
DurationHow long this visit took
OutcomeThe result/decision from this visit
AssigneeWho handled this visit
Transition TakenWhich path was taken when exiting
Analyzing Rework Patterns

The stage instance history is invaluable for:

  • Identifying bottlenecks: Stages with frequent revisits may indicate unclear requirements or quality issues
  • Measuring efficiency: Compare durations across visits to track improvement
  • Auditing decisions: See exactly who made what decision at each visit
  • Process optimization: Use patterns to redesign processes and reduce unnecessary loops

Process Viewer Features

FeatureDescription
Visual FlowDisplays the process stages in their configured layout
Real-time StatusShows current status of each stage with color coding
Stage DetailsClick any stage to see details, assignments, and history
Instance HistoryView all visits for stages with multiple entries
Timeline ViewSee chronological progression through the process
Trace AccessQuick access to detailed trace records for debugging

Instance Lifecycle

A process instance goes through several states during its lifetime:

StateDescription
CreatedInstance has been initiated but not yet started
In ProgressInstance is actively moving through stages
CompletedInstance has reached a terminating stage successfully
CancelledInstance was manually cancelled before completion
FaultedInstance encountered an unrecoverable error

Working with Instances

Viewing Instance Details

From the Process Viewer, you can:

  • See the current stage and overall progress
  • Review the history of all completed stages
  • Access task assignments and their statuses
  • View trace data for debugging
  • Check SLA compliance and due dates

Manual Intervention

In some cases, you may need to intervene in a running instance:

ActionWhen to Use
Reassign TaskCurrent assignee is unavailable
Skip StageStage is no longer needed for this instance
Move to StageJump to a different stage (use carefully)
Cancel InstanceInstance should not continue
Manual Intervention

Manual interventions bypass the normal process flow. Use them sparingly and document the reason. Consider whether the need for frequent intervention indicates a process design issue.