Table

SysWorkflowTable

SysWorkflowTable

Holds one record per workflow instance, keyed by correlation ID. It stores the instance category, lock status, originator, submitter, configuration and the company and record the workflow runs on. It links to related workflow, fault and instance tables.

Table name
SysWorkflowTable
Module
Workflow
Table group
Framework
Table type
Regular
Data per company
No
Configuration key
None
Primary index
CorrelationIdx
Replacement key
CorrelationIdx
Key fields
WorkflowCorrelationId
Model
ApplicationFoundation

Fields (27)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
WorkflowCorrelationIdUnique ID that identifies the workflow instance.Guid
WorkflowCorrelationId
NoSysWorkflowInstanceTable.CorrelationIdNone
AffinityAffinity ID of the workflow instance.low confidenceGuid
WorkflowInstanceAffinity
NoNone
CategoryKind of instance: workflow, subworkflow or line item workflow.Enum
WorkflowInstanceCategory (enum)
NoNone
ConfigurationIdID of the workflow configuration used by the instance.Guid
WorkflowConfigurationId
NoWorkflowVersionTable.ConfigurationIdNone
ConfigurationSequenceNumberSequence number that identifies the workflow configuration.String (20)
WorkflowSequenceNumber
NoWorkflowTable.SequenceNumberNone
ContextCompanyIdCompany of the record the workflow runs on.String
CompanyId
NoNone
ContextRecIdSystem record ID of the record the workflow runs on.Int64
WorkflowContextRecId
NoNone
ContextTableIdID of the table that holds the record the workflow runs on.Integer
WorkflowContextTableId
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
InstanceIdUnique ID of the workflow instance.Guid
WorkflowInstanceId
NoNone
InstanceNumberNumber that identifies the workflow instance.String (20)
WorkflowInstanceNumber
NoWorkflowTable.SequenceNumberNone
LockCountCount of workflow locks.Integer
WorkflowLockCount
NoNone
LockStatusLock status of the workflow: unlocked, unlocked by system or locked.Enum
WorkflowLockStatus (enum)
NoNone
OriginalCorrelationIdCorrelation ID of the original workflow instance.Guid
WorkflowOriginalCorrelationId
NoNone
OriginatorUser who started the workflow.String
WorkflowUser
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, linked to the fault messages.Guid
WorkflowRootCorrelationId
NoSysWorkflowFaultTable.RootCorrelationIdNone
SubmitterUser who submitted the workflow on behalf of another user.String
WorkflowSubmitOnBehalfUser
NoNone
SubWorkflowIdID of the subworkflow.Guid
WorkflowSubWorkflowId
NoNone
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
TemplateNameName of the workflow type used by the instance.String
WorkflowTypeName
NoNone
UseErrorMessageHelpScopeYes/no setting to use the error context.Enum
SysErrorMessageHelpWorkflowUseScope
NoYes (enum)
NoNone
VersionVersion the workflow comes from: Finance and Operations or Dynamics AX 2009.Enum
WorkflowAXVersion (enum)
NoNone

Indexes (3)

Relations (9)

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

  • DataArea → DataArea

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

    Many SysWorkflowTable records → zero or one DataArea record

  • UserInfo → UserInfo

    Join on Originator = UserInfo.id

    Many SysWorkflowTable records → zero or one UserInfo record

  • UserInfo1 → UserInfo

    Join on Submitter = UserInfo.id

    Many SysWorkflowTable records → zero or one UserInfo record

  • WorkflowElement → SysWorkflowElementTable

    Join on WorkflowCorrelationId = SysWorkflowElementTable.CorrelationId

    Zero or one SysWorkflowTable record → zero or one SysWorkflowElementTable record

  • WorkflowFault → SysWorkflowFaultTable

    Join on RootCorrelationId = SysWorkflowFaultTable.RootCorrelationId

    Many SysWorkflowTable records → zero or one SysWorkflowFaultTable record

  • WorkflowInstance → SysWorkflowInstanceTable

    Join on WorkflowCorrelationId = SysWorkflowInstanceTable.CorrelationId

    Zero or one SysWorkflowTable record → zero or one SysWorkflowInstanceTable record

  • WorkflowTable → WorkflowTable

    Join on ConfigurationSequenceNumber = WorkflowTable.SequenceNumber, WorkflowTable.Type = null

    Many SysWorkflowTable records → zero or one WorkflowTable record

  • WorkflowTable1 → WorkflowTable

    Join on InstanceNumber = WorkflowTable.SequenceNumber, WorkflowTable.Type = null

    Many SysWorkflowTable records → zero or one WorkflowTable record

  • WorkflowVersionTable → WorkflowVersionTable

    Join on ConfigurationId = WorkflowVersionTable.ConfigurationId

    Many SysWorkflowTable records → zero or one WorkflowVersionTable record

Get this data out

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

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

Email sales@drdynamics.co.uk