Table

SysWorkflowMessageTable

Workflow messages table

Holds messages exchanged by the workflow runtime, keyed by message ID. Each message has a type, a life cycle state and correlation IDs. It also records the company, the context record, and the related user and work item.

Table name
SysWorkflowMessageTable
Module
Workflow
Table group
Framework
Table type
Regular
Data per company
No
Configuration key
None
Primary index
MessageIdx
Replacement key
MessageIdx
Key fields
MessageId
Model
ApplicationFoundation

Fields (25)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
MessageIdUnique ID of the workflow message.Guid
WorkflowMessageId
NoNone
ActionNameName of the action or outcome linked to the message.String
WorkflowOutcomeName
NoNone
ActivityContextTypeKind of workflow activity the message relates to, such as task, step or subworkflow.Enum
WorkflowActivityContextType (enum)
NoNone
ActivityInstanceIdID of the workflow activity instance.Guid
WorkflowActivityInstanceId
NoNone
AssignedUserUser the message is assigned to.String
WorkflowAssignedUser
NoNone
AttemptsMaximum number of times the message may be tried.Integer
WorkflowMessageMaxRetries
NoNone
AxaptaUserUser linked to the message.String
WorkflowUser
NoNone
BatchAffinityID used to group the message with a batch.low confidenceGuid
WorkflowMessageBatchAffinity
NoNone
BookmarkID of the workflow bookmark linked to the message.Guid
WorkflowBookmarkId
NoNone
ConfigurationIdID of the workflow configuration that the message belongs to.Guid
WorkflowConfigurationId
NoWorkflowVersionTable.ConfigurationIdNone
MessageLifeCycleStateCurrent state of the message, such as queued, dequeued or stopped with an error.Enum
WorkflowMessageLifeCycleState (enum)
NoNone
MessageTypeKind of message, such as activation, workflow started or task completed.Enum
WorkflowMessageType (enum)
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
ParentCorrelationIdCorrelation ID of the parent workflow instance.Guid
WorkflowParentCorrelationId
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
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
RootCorrelationIdCorrelation ID of the root workflow instance.Guid
WorkflowRootCorrelationId
NoNone
SubWorkflowIdID of the subworkflow linked to the message.Guid
WorkflowSubWorkflowId
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
WorkflowContextCompanyIdCompany of the record the workflow runs on.String
CompanyId
NoNone
WorkflowContextRecIdSystem record ID of the record the workflow runs on.Int64
WorkflowContextRecId
NoNone
WorkflowContextTableIdID of the table that holds the record the workflow runs on.Integer
WorkflowContextTableId
NoNone
WorkflowCorrelationIdUnique ID that ties the message to a workflow instance.Guid
WorkflowCorrelationId
NoNone
WorkItemInstanceIdID of the work item the message relates to.Guid
WorkflowWorkItemInstanceId
NoWorkflowWorkItemTable.IdNone

Indexes (6)

Relations (5)

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

  • DataArea → DataArea

    Join on WorkflowContextCompanyId = DataArea.id, DataArea.isVirtual = null

    Many SysWorkflowMessageTable records → zero or one DataArea record

  • UserInfo → UserInfo

    Join on AssignedUser = UserInfo.id

    Many SysWorkflowMessageTable records → zero or one UserInfo record

  • UserInfo1 → UserInfo

    Join on AxaptaUser = UserInfo.id

    Many SysWorkflowMessageTable records → zero or one UserInfo record

  • WorkflowVersionTable → WorkflowVersionTable

    Join on ConfigurationId = WorkflowVersionTable.ConfigurationId

    Many SysWorkflowMessageTable records → zero or one WorkflowVersionTable record

  • WorkflowWorkItemTable → WorkflowWorkItemTable

    Join on WorkItemInstanceId = WorkflowWorkItemTable.Id

    Many SysWorkflowMessageTable records → zero or one WorkflowWorkItemTable record

Get this data out

No public entity reads from SysWorkflowMessageTable. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk