Skip to main content
Version: Current

WorkflowInstanceData

Description

Represents a workflow instance within a process instance.

The WorkflowInstanceData model provides execution details, lifecycle information, and hierarchical relationships of workflows associated with a process instance.


Constructor

ConstructorDescription
WorkflowInstanceData()Initializes a new instance of the WorkflowInstanceData model.

Properties

PropertyDescription
IdThe unique identifier of the workflow instance.
TenantIdThe tenant ID associated with the workflow instance.
ProcessInstanceIdThe ID of the process instance to which the workflow belongs.
DefinitionIdThe workflow definition ID.
DefinitionVersionIdThe workflow definition version ID.
ParentWorkflowInstanceIdThe parent workflow instance ID, if applicable.
ParentActivityInstanceIdThe parent activity instance ID, if applicable.
ParentActivityIdThe parent activity definition ID, if applicable.
WorkflowStateThe current execution state of the workflow.
StatusThe workflow status code.
SubStatusThe workflow sub-status code.
IsExecutingIndicates whether the workflow is currently executing.
CorrelationIdThe correlation identifier used for tracking and tracing.
NameThe display name of the workflow instance.
IncidentCountThe number of incidents associated with the workflow instance.
IsSystemIndicates whether the workflow instance is a system workflow.
CreatedAtThe date and time when the workflow instance was created.
UpdatedAtThe date and time when the workflow instance was last updated.
FinishedAtThe date and time when the workflow instance completed execution, if applicable.

Remarks

  • This model is typically returned by Process Instance APIs.
  • It provides visibility into workflow execution state and lifecycle progression.
  • Parent-related properties are populated when the workflow is triggered from another workflow or activity.
  • FinishedAt is populated only after workflow completion.