Table

WorkflowTrackingTable

Workflow tracking table

Records each tracked event in a workflow, such as creation, approval or delegation. The key is the tracking ID with the context and type. Each record links to the workflow status, step, task and user involved.

Table name
WorkflowTrackingTable
Module
Workflow
Table group
Framework
Table type
Regular
Data per company
No
Configuration key
None
Primary index
RecId
Replacement key
TrackingContextIdx
Key fields
TrackingId, TrackingContext, TrackingType
Model
ApplicationFoundation

Fields (19)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
TrackingIdGUID that identifies the tracking event.Guid
WorkflowTrackingId
YesNone
TrackingContextPart of the workflow the event relates to, such as approval, task, step or condition.Enum
WorkflowTrackingContext (enum)
YesWorkflowApprovalHistoryEntity
TrackingTypeKind of event, such as accepted, approval, cancellation, creation or delegation.Enum
WorkflowTrackingType (enum)
YesWorkflowApprovalHistoryEntity
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoWorkflowApprovalHistoryEntity
ElementIdGUID of the workflow task the event belongs to.Guid
WorkflowElementId
NoNone
NameName of the tracking event.String (60)
WorkflowTrackingName
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoWorkflowApprovalHistoryEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
StepIdGUID of the workflow step.Guid
WorkflowStepId
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TrackingDateTimeTickCountTime of the event as a tick count.Int64
WorkflowTrackingDateTickCount
NoNone
UserUser linked to the event.String
WorkflowUser
YesWorkflowApprovalHistoryEntity
WorkflowElementTablePoints to the workflow element.Int64
RefRecId
NoWorkflowElementTable.RecIdNone
WorkflowParallelBranchTablePoints to the parallel branch.Int64
RefRecId
NoWorkflowParallelBranchTable.RecIdNone
WorkflowStepTablePoints to the workflow step.Int64
RefRecId
NoWorkflowStepTable.RecIdNone
WorkflowSubWorkflowPoints to the subworkflow.Int64
RefRecId
NoWorkflowSubWorkflow.RecIdNone
WorkflowTrackingStatusTablePoints to the workflow tracking status record.Int64
RefRecId
NoWorkflowTrackingStatusTable.RecIdNone

Indexes (7)

Relations (6)

Each relation joins WorkflowTrackingTable to another table on the fields shown.

  • ParallelBranch → WorkflowParallelBranchTable

    Join on WorkflowParallelBranchTable = WorkflowParallelBranchTable.RecId

    Many WorkflowTrackingTable records → zero or one WorkflowParallelBranchTable record

  • SubWorkflow → WorkflowSubWorkflow

    Join on WorkflowSubWorkflow = WorkflowSubWorkflow.RecId

    Many WorkflowTrackingTable records → zero or one WorkflowSubWorkflow record

  • TrackingStatus → WorkflowTrackingStatusTable

    Join on WorkflowTrackingStatusTable = WorkflowTrackingStatusTable.RecId

    One or more WorkflowTrackingTable records → zero or one WorkflowTrackingStatusTable record

  • User → UserInfo

    Join on User = UserInfo.id

    Many WorkflowTrackingTable records → exactly one UserInfo record

  • WorkflowElement → WorkflowElementTable

    Join on WorkflowElementTable = WorkflowElementTable.RecId

    Many WorkflowTrackingTable records → zero or one WorkflowElementTable record

  • WorkflowStep → WorkflowStepTable

    Join on WorkflowStepTable = WorkflowStepTable.RecId

    Many WorkflowTrackingTable records → zero or one WorkflowStepTable record

Get this data out

Tables are not exposed directly. These public entities read from WorkflowTrackingTable; use one of them in Power BI, Power Platform or a data management project.

Need help with WorkflowTrackingTable in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk