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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
TrackingIdGUID that identifies the tracking event. | GuidWorkflowTrackingId | Yes | None | |
TrackingContextPart of the workflow the event relates to, such as approval, task, step or condition. | EnumWorkflowTrackingContext (enum) | Yes | WorkflowApprovalHistoryEntity | |
TrackingTypeKind of event, such as accepted, approval, cancellation, creation or delegation. | EnumWorkflowTrackingType (enum) | Yes | WorkflowApprovalHistoryEntity | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | WorkflowApprovalHistoryEntity | |
ElementIdGUID of the workflow task the event belongs to. | GuidWorkflowElementId | No | None | |
NameName of the tracking event. | String (60)WorkflowTrackingName | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | WorkflowApprovalHistoryEntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
StepIdGUID of the workflow step. | GuidWorkflowStepId | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TrackingDateTimeTickCountTime of the event as a tick count. | Int64WorkflowTrackingDateTickCount | No | None | |
UserUser linked to the event. | StringWorkflowUser | Yes | WorkflowApprovalHistoryEntity | |
WorkflowElementTablePoints to the workflow element. | Int64RefRecId | No | WorkflowElementTable.RecId | None |
WorkflowParallelBranchTablePoints to the parallel branch. | Int64RefRecId | No | WorkflowParallelBranchTable.RecId | None |
WorkflowStepTablePoints to the workflow step. | Int64RefRecId | No | WorkflowStepTable.RecId | None |
WorkflowSubWorkflowPoints to the subworkflow. | Int64RefRecId | No | WorkflowSubWorkflow.RecId | None |
WorkflowTrackingStatusTablePoints to the workflow tracking status record. | Int64RefRecId | No | WorkflowTrackingStatusTable.RecId | None |
Indexes (7)
TrackingContextIdxReplacement keyTrackingId,TrackingContext,TrackingTypeUnique, alternate key.
WorkflowTrackingStatusTableIdxNot unique.
WorkflowElementTableIdxNot unique.
WorkflowStepTableIdxNot unique.
WorkflowParallelBranchTableIdxNot unique.
WorkflowSubWorkflowIdxNot unique.
WorkflowTrackingIdxTrackingContext,TrackingType,WorkflowTrackingStatusTableNot unique.
Relations (6)
Each relation joins WorkflowTrackingTable to another table on the fields shown.
ParallelBranch→WorkflowParallelBranchTableJoin on
WorkflowParallelBranchTable = WorkflowParallelBranchTable.RecIdMany WorkflowTrackingTable records → zero or one WorkflowParallelBranchTable record
SubWorkflow→WorkflowSubWorkflowJoin on
WorkflowSubWorkflow = WorkflowSubWorkflow.RecIdMany WorkflowTrackingTable records → zero or one WorkflowSubWorkflow record
TrackingStatus→WorkflowTrackingStatusTableJoin on
WorkflowTrackingStatusTable = WorkflowTrackingStatusTable.RecIdOne or more WorkflowTrackingTable records → zero or one WorkflowTrackingStatusTable record
User→UserInfoJoin on
User = UserInfo.idMany WorkflowTrackingTable records → exactly one UserInfo record
WorkflowElement→WorkflowElementTableJoin on
WorkflowElementTable = WorkflowElementTable.RecIdMany WorkflowTrackingTable records → zero or one WorkflowElementTable record
WorkflowStep→WorkflowStepTableJoin on
WorkflowStepTable = WorkflowStepTable.RecIdMany 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.
WorkflowApprovalHistoryEntity· 5 fields from this table
Need help with WorkflowTrackingTable in a report, an integration or a migration? Talk to Dr Dynamics.