Data entity

WorkflowWorkItemEntity

Read-only list of workflow work items. Each record carries the workflow and activity IDs, correlation IDs, document, subject, task, status, due date and the assigned user. It also has queue information from the work item queue. The key is the record ID.

Entity name
WorkflowWorkItemEntity
Public entity name
WorkflowWorkItem
OData collection
WorkflowWorkItems
Category
Not set
Module
Other (no module in the metadata)
Read-only
Yes
Data management enabled
No
Configuration key
None
Keys
Id
Staging table
None

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/WorkflowWorkItems
Dataverse virtual table
mserp_workflowworkitementity. 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

  • WorkflowWorkItemTable · root
  • WorkflowWorkItem (table WorkflowWorkItemQueue) · OuterJoin to WorkflowWorkItemTable · read-only

Fields (31)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
ActivityIdIdentifier of the workflow activity instance.Guid
WorkflowActivityInstanceId
NoYesWorkflowWorkItemTable.ActivityId
CommentIdPoints to the comment attached to the work item.Guid
WorkflowWorkItemCommentId
NoYesWorkflowWorkItemCommentTable.IdWorkflowWorkItemTable.CommentId
CompanyIdCompany the work item belongs to.String
SelectableDataArea
NoYesWorkflowWorkItemTable.CompanyId
ConfigurationIdIdentifier of the workflow configuration version.Guid
WorkflowConfigurationId
NoYesWorkflowVersionTable.ConfigurationIdWorkflowWorkItemTable.ConfigurationId
ContextText that gives context for the work item.String (255)
WorkflowWorkItemContext
NoYesWorkflowWorkItemTable.Context
CorrelationIdIdentifier that links the work item to its workflow tracking status.Guid
WorkflowCorrelationId
NoYesWorkflowTrackingStatusTable.CorrelationIdWorkflowWorkItemTable.CorrelationId
DataSourceNameName of the data source related to the work item.String
DataSourceName
NoYesWorkflowWorkItemTable.DataSourceName
DescriptionInstructions for the person who handles the work item.String (-1)
WorkflowStepInstruction
NoYesWorkflowWorkItemTable.Description
DocumentClassIdNumeric ID of the class of the document.Integer
WorkflowDocumentClassId
NoYesWorkflowWorkItemTable.DocumentClassId
DueDateTimeDate and time by which the work item is due.UtcDateTime
WorkflowDueDateTime
NoYesWorkflowWorkItemTable.DueDateTime
ElementIdThe workflow task element this work item belongs to.Guid
WorkflowElementId
NoYesWorkflowElementTable.ElementIdWorkflowWorkItemTable.ElementId
EscalationLevelLevel of escalation reached by the work item.Integer
WorkflowEscalationLevel
NoYesWorkflowWorkItemTable.EscalationLevel
IdUnique ID of the work item.Guid
WorkflowWorkItemInstanceId
NoYesWorkflowWorkItemTable.Id
IsClaimedYes/No flag showing whether the work item has been claimed.Enum
WorkflowWorkItemClaimed
NoYes

Platform enum: values not in the metadata extract.

NoYesWorkflowWorkItemTable.IsClaimed
IsReadYes/No flag showing whether the work item has been read.Enum
WorkflowWorkItemIsRead
NoYes

Platform enum: values not in the metadata extract.

NoYesWorkflowWorkItemTable.IsRead
MenuItemNameName of the menu item linked to the work item. The label is empty.low confidenceString
MenuItemNameDisplay
NoYesWorkflowWorkItemTable.MenuItemName
NotificationIdPoints to the inbox alert record for the work item.Int64
EventInboxId
NoYesEventInbox.InboxIdWorkflowWorkItemTable.NotificationId
OriginalCorrelationIdCorrelation ID of the original workflow.Guid
WorkflowOriginalCorrelationId
NoYesWorkflowWorkItemTable.OriginalCorrelationId
ParentCorrelationIdCorrelation ID of the parent workflow.Guid
WorkflowParentCorrelationId
NoYesWorkflowWorkItemTable.ParentCorrelationId
QueuePoints to the work item queue that holds the item.Int64
WorkflowWorkItemQueueRef
NoNo (private)WorkflowWorkItemQueue.RecIdWorkflowWorkItemTable.Queue
RefRecIdSystem record ID of the document the work item refers to.Int64
RefRecId
YesNo (private)WorkflowWorkItemTable.RefRecId
RefTableIdID of the table of the document the work item refers to.Integer
RefTableId
YesYesWorkflowWorkItemTable.RefTableId
RootCorrelationIdCorrelation ID of the root workflow.Guid
WorkflowRootCorrelationId
NoYesWorkflowWorkItemTable.RootCorrelationId
StatusCurrent state of the work item: pending, delegated, completed or failed.Enum
WorkflowWorkItemStatus
  • Pending 0
  • Delegated 1
  • Completed 2
  • Failed 3
NoYesWorkflowWorkItemTable.Status
StepIdIdentifier of the workflow activity instance, as for the activity ID field.Guid
WorkflowActivityInstanceId
NoYesWorkflowWorkItemTable.StepId
SubjectShort subject line of the work item.String (128)
WorkflowWorkItemSubject
NoYesWorkflowWorkItemTable.Subject
SubWorkflowIdIdentifier of the subworkflow.Guid
WorkflowSubWorkflowId
NoYesWorkflowWorkItemTable.SubWorkflowId
TypeKind of work item, such as work item, return or escalation.Enum
WorkflowWorkItemType
  • WorkItem 0
  • RequestChange 1
  • Return 2
  • Escalated 3
  • FinalApprover 4
  • Recall 5
NoYesWorkflowWorkItemTable.Type
UserIdThe user the work item is assigned to.String
WorkflowUser
NoYesWorkflowWorkItemTable.UserId
WorkflowWorkItem_NameName of the queue.String (60)
Name
YesYesWorkflowWorkItemQueue.Name
WorkflowWorkItem_WorkitemTypeType of document the queue handles.String
WorkItemType
YesYesWorkflowWorkItemQueue.WorkitemType

Foreign keys (6)

Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.

  • CommentId → WorkflowWorkItemCommentTable.Id (key of WorkflowWorkItemCommentTable)

    Many WorkflowWorkItemTable records → zero or one WorkflowWorkItemCommentTable record

    Not exposed by a public entity.

  • ConfigurationId → WorkflowVersionTable.ConfigurationId (key of WorkflowVersionTable)

    Many WorkflowWorkItemTable records → zero or one WorkflowVersionTable record

    Not exposed by a public entity.

  • CorrelationId → WorkflowTrackingStatusTable.CorrelationId (key of WorkflowTrackingStatusTable)

    Many WorkflowWorkItemTable records → zero or one WorkflowTrackingStatusTable record

    WorkflowTrackingStatusTable details: see WorkflowApprovalHistoryEntity

  • ElementId → WorkflowElementTable.ElementId (key of WorkflowElementTable)

    Many WorkflowWorkItemTable records → zero or one WorkflowElementTable record

    Not exposed by a public entity.

  • NotificationId → EventInbox.InboxId (key of EventInbox)

    Many WorkflowWorkItemTable records → zero or one EventInbox record

    Not exposed by a public entity.

  • Queue → WorkflowWorkItemQueue.RecId (key of WorkflowWorkItemQueue)

    Many WorkflowWorkItemTable records → zero or one WorkflowWorkItemQueue record

    WorkflowWorkItemQueue details: see EssWorkflowWorkItemEntity

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

Email sales@drdynamics.co.uk