Table

WorkflowWorkItemTable

Work items

Holds work items, which are tasks given to users in workflows. Each is identified by a work item ID. A record has a status, a type, a subject and a due date. It links to the workflow, the task element, the queue, the user and the document it refers to.

Table name
WorkflowWorkItemTable
Module
Workflow
Table group
Framework
Table type
Regular
Data per company
No
Configuration key
None
Primary index
RecId
Replacement key
WorkItemIdx
Key fields
Id
Model
ApplicationFoundation

Fields (38)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
IdUnique ID of the work item.Guid
WorkflowWorkItemInstanceId
NoEssWorkflowWorkItemEntityHRAdminPendingHireActionsEntityMssHRTeamsAppPendingLoaEntityand 4 more
ActivityIdIdentifier of the workflow activity instance.Guid
WorkflowActivityInstanceId
NoEssWorkflowWorkItemEntityWorkflowWorkItemEntity
CommentIdPoints to the comment attached to the work item.Guid
WorkflowWorkItemCommentId
NoWorkflowWorkItemCommentTable.IdEssWorkflowWorkItemEntityHRAdminPendingHireActionsEntityWorkflowWorkItemEntity
CompanyIdCompany the work item belongs to.String
SelectableDataArea
NoEssWorkflowWorkItemEntityHRAdminPendingHireActionsEntityWorkflowWorkItemEntity
ConfigurationIdIdentifier of the workflow configuration version.Guid
WorkflowConfigurationId
NoWorkflowVersionTable.ConfigurationIdEssWorkflowWorkItemEntityWorkflowWorkItemEntity
ContextText that gives context for the work item.String (255)
WorkflowWorkItemContext
NoEssWorkflowWorkItemEntityWorkflowWorkItemEntity
CorrelationIdIdentifier that links the work item to its workflow tracking status.Guid
WorkflowCorrelationId
NoWorkflowTrackingStatusTable.CorrelationIdTrvExpMobileLineApprovalEntityTrvExpMobileReportApprovalEntityEssWorkflowWorkItemEntityand 1 more
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataSourceNameName of the data source related to the work item.String
DataSourceName
NoEssWorkflowWorkItemEntityWorkflowWorkItemEntity
DescriptionInstructions for the person who handles the work item.String (-1)
WorkflowStepInstruction
NoEssWorkflowWorkItemEntityHRAdminPendingHireActionsEntityMssHRTeamsAppPendingLoaEntityand 6 more
DocumentClassIdNumeric ID of the class of the document.Integer
WorkflowDocumentClassId
NoEssWorkflowWorkItemEntityHRAdminPendingHireActionsEntityWorkflowWorkItemEntity
DueDateTimeDate and time by which the work item is due.UtcDateTime
WorkflowDueDateTime
NoEssWorkflowWorkItemEntityHRAdminPendingHireActionsEntityWorkflowWorkItemEntity
ElementIdThe workflow task element this work item belongs to.Guid
WorkflowElementId
NoWorkflowElementTable.ElementIdEssWorkflowWorkItemEntityWorkflowWorkItemEntityPurchApprovalHeaderEntityand 5 more
EscalationLevelLevel of escalation reached by the work item.Integer
WorkflowEscalationLevel
NoEssWorkflowWorkItemEntityWorkflowWorkItemEntity
IsClaimedYes/No flag showing whether the work item has been claimed.Enum
WorkflowWorkItemClaimed
NoYes (enum)
NoEssWorkflowWorkItemEntityWorkflowWorkItemEntity
IsReadYes/No flag showing whether the work item has been read.Enum
WorkflowWorkItemIsRead
NoYes (enum)
NoEssWorkflowWorkItemEntityWorkflowWorkItemEntity
MenuItemNameName of the menu item linked to the work item. The label is empty.low confidenceString
MenuItemNameDisplay
NoEssWorkflowWorkItemEntityHRAdminPendingHireActionsEntityWorkflowWorkItemEntity
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
NotificationIdPoints to the inbox alert record for the work item.Int64
EventInboxId
NoEventInbox.InboxIdEssWorkflowWorkItemEntityWorkflowWorkItemEntity
OriginalCorrelationIdCorrelation ID of the original workflow.Guid
WorkflowOriginalCorrelationId
NoEssWorkflowWorkItemEntityWorkflowWorkItemEntity
ParentCorrelationIdCorrelation ID of the parent workflow.Guid
WorkflowParentCorrelationId
NoEssWorkflowWorkItemEntityWorkflowWorkItemEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
QueuePoints to the work item queue that holds the item.Int64
WorkflowWorkItemQueueRef
NoWorkflowWorkItemQueue.RecIdEssWorkflowWorkItemEntityWorkflowWorkItemEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoTrvExpMobileLineApprovalEntityTrvExpMobilePerDiemDataForLineApprovalEntityTrvExpMobilePerDiemDataForReportApprovalEntityand 13 more
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
RefRecIdSystem record ID of the document the work item refers to.Int64
RefRecId
YesTrvExpMobileLineApprovalEntityHRAdminPendingHireActionsEntityMssHRTeamsAppPendingLoaEntityand 2 more
RefTableIdID of the table of the document the work item refers to.Integer
RefTableId
YesTrvExpMobileReportApprovalEntityHRAdminPendingHireActionsEntityWorkflowWorkItemEntityand 2 more
RootCorrelationIdCorrelation ID of the root workflow.Guid
WorkflowRootCorrelationId
NoEssWorkflowWorkItemEntityWorkflowWorkItemEntity
StatusCurrent state of the work item: pending, delegated, completed or failed.Enum
WorkflowWorkItemStatus (enum)
NoEssWorkflowWorkItemEntityHRAdminPendingHireActionsEntityWorkflowWorkItemEntityand 1 more
StepIdIdentifier of the workflow activity instance, as for the activity ID field.Guid
WorkflowActivityInstanceId
NoEssWorkflowWorkItemEntityWorkflowWorkItemEntity
SubjectShort subject line of the work item.String (128)
WorkflowWorkItemSubject
NoEssWorkflowWorkItemEntityHRAdminPendingHireActionsEntityMssHRTeamsAppPendingLoaEntityand 2 more
SubWorkflowIdIdentifier of the subworkflow.Guid
WorkflowSubWorkflowId
NoEssWorkflowWorkItemEntityWorkflowWorkItemEntity
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
TypeKind of work item, such as work item, return or escalation.Enum
WorkflowWorkItemType (enum)
NoEssWorkflowWorkItemEntityWorkflowWorkItemEntityPurchApprovalHeaderEntityand 5 more
UserIdThe user the work item is assigned to.String
WorkflowUser
NoTrvExpMobileLineApprovalEntityTrvExpMobilePerDiemDataForLineApprovalEntityTrvExpMobilePerDiemDataForReportApprovalEntityand 27 more

Indexes (10)

Relations (8)

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

  • Common → Common

    Join on RefTableId = Common.TableId, RefRecId = Common.RecId, CompanyId = Common.dataAreaId

    Cardinality not set in the metadata.

  • EventInbox → EventInbox

    Join on NotificationId = EventInbox.InboxId

    Many WorkflowWorkItemTable records → zero or one EventInbox record

  • UserInfo → UserInfo

    Join on UserId = UserInfo.id

    Many WorkflowWorkItemTable records → zero or one UserInfo record

  • WorkflowElementTable → WorkflowElementTable

    Join on ElementId = WorkflowElementTable.ElementId

    Many WorkflowWorkItemTable records → zero or one WorkflowElementTable record

  • WorkflowVersionTable → WorkflowVersionTable

    Join on ConfigurationId = WorkflowVersionTable.ConfigurationId

    Many WorkflowWorkItemTable records → zero or one WorkflowVersionTable record

  • WorkflowWorkItem → WorkflowWorkItemQueue

    Join on Queue = WorkflowWorkItemQueue.RecId

    Many WorkflowWorkItemTable records → zero or one WorkflowWorkItemQueue record

  • WorkflowWorkItemCommentTable → WorkflowWorkItemCommentTable

    Join on CommentId = WorkflowWorkItemCommentTable.Id

    Many WorkflowWorkItemTable records → zero or one WorkflowWorkItemCommentTable record

  • WorkflowTrackingStatusTable → WorkflowTrackingStatusTable

    Join on CorrelationId = WorkflowTrackingStatusTable.CorrelationId

    Many WorkflowWorkItemTable records → zero or one WorkflowTrackingStatusTable record

Get this data out

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

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

Email sales@drdynamics.co.uk