Data entity

WorkflowApprovalHistoryEntity

Read-only history of workflow tracking entries for approvals. Each record has the tracking message, context, type, user, log time and approval user, and links to a work item. It also holds the object ID of the user who took the action. The key is the tracking record ID.

Entity name
WorkflowApprovalHistoryEntity
Public entity name
ApprovalHistory
OData collection
ApprovalHistories
Category
Reference
Module
Other (no module in the metadata)
Read-only
Yes
Data management enabled
No
Configuration key
None
Keys
TrackingRecId
Staging table
None

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/ApprovalHistories
Dataverse virtual table
mserp_workflowapprovalhistoryentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.
Data management
Not enabled for import and export projects.

Data sources

  • WorkflowTrackingTable · root · read-only
  • WorkflowTrackingStatusTable · InnerJoin to WorkflowTrackingTable · read-only
  • WorkflowWorkItemTable · InnerJoin to WorkflowTrackingStatusTable · read-only
  • WorkflowTrackingCommentTable · InnerJoin to WorkflowTrackingTable · read-only
  • UserInfo · OuterJoin to WorkflowTrackingTable · read-only

Fields (9)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
TrackingMessageText of the tracking message.String (-1)
WorkflowTrackingMessage
NoYesWorkflowTrackingCommentTable.TrackingMessage
TrackingRecIdA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoYesWorkflowTrackingTable.RecId
TrackingContextPart of the workflow the event relates to, such as approval, task, step or condition.Enum
WorkflowTrackingContext
  • None 0
  • Workflow 1
  • Approval 2
  • Task 3
  • Step 4
  • WorkItem 5
  • SubWorkflow 6
  • Condition 7
  • ManualCondition 8
  • LineItemWorkflow 10
  • LineItemWorkItem 11
  • LineItemElement 12
  • Parallel 13
  • ParallelBranch 14
  • AutomatedTask 15
YesYesWorkflowTrackingTable.TrackingContext
TrackingTypeKind of event, such as accepted, approval, cancellation, creation or delegation.Enum
WorkflowTrackingType
  • None 0
  • Accepted 1
  • ActivationConditionEvaluation 3
  • Approval 4
  • AutoCompletionConditionEvaluation 5
  • AutomaticDelegation 6
  • Cancellation 7
  • Completion 8
  • Creation 9
  • Delegation 10
  • DueDateExceeded 11
  • DurationExceeded 12
  • EscalationAction 13
  • EscalationPath 14
  • Fault 15
  • FinalApproverRequired 16
  • FinalEscalationAction 17
  • PreConditionEvaluation 18
  • Rejection 19
  • RequestChange 20
  • Resubmission 21
  • Return 22
  • Submission 23
  • Unrecoverable 24
  • Activation 25
  • Resume 26
  • SubWorkflowElementConditionEvaluation 27
  • SubWorkflowConditionEvaluation 28
  • SubWorkflowStarted 29
  • SubWorkflowCompleted 30
  • IndependentSubWorkflowStarted 31
  • SubmitOnBehalf 32
  • Denied 33
  • SubWorkflowElement 34
  • CircularDependencyDetected 35
  • ConditionEvaluation 36
  • Recalled 38
  • Release 39
  • Reassign 40
  • AutoCompletionConditionEvaluationTrue 41
  • AutoCompletionConditionEvaluationFalse 42
YesYesWorkflowTrackingTable.TrackingType
ActionUserUser linked to the event.String
WorkflowUser
YesYesWorkflowTrackingTable.User
ActionTimeThe date and time when the record was created.UtcDateTime
CreatedDateTime
NoYesWorkflowTrackingTable.CreatedDateTime
ApprovalUserThe user the work item is assigned to.String
WorkflowUser
NoYesWorkflowWorkItemTable.UserId
WorkItemRecIdA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoYesWorkflowWorkItemTable.RecId
ActionUserObjectIdNo descriptionNoYesNone

Need help with WorkflowApprovalHistoryEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk