Table

WorkflowStepTable

Workflow steps

Holds the steps of a workflow. Each step has a GUID, a name and a sequence. It also stores a completion policy and an optional run condition.

Table name
WorkflowStepTable
Module
Workflow
Table group
Framework
Table type
Regular
Data per company
No
Configuration key
None
Primary index
RecId
Replacement key
StepIdx
Key fields
StepId
Model
ApplicationFoundation

Fields (15)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
StepIdUnique GUID of the step.Guid
WorkflowStepId
YesNone
CompletionPolicyRule for completing the step: single approver, majority, percentage or all approvers.Enum
WorkflowStepCompletionPolicy (enum)
NoNone
CompletionPolicyPercentagePercentage used when the completion policy is based on a percentage of approvers.Integer
WorkflowStepCompletionPolicyValue
NoNone
ElementIdGUID of the workflow element (task) that the step uses.Guid
WorkflowElementId
NoWorkflowElementTable.ElementIdNone
ExecuteStepCondition type that says when the step runs, for example always or only under a condition.Enum
WorkflowConditionType (enum)
NoNone
ExecuteStepIdID of the expression used as the condition for running the step.Guid
ExpressionId
NoExpressionTable.ExpressionIdNone
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
NameName of the step.String (60)
WorkflowStepName
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
SequenceOrder number of the step in the workflow.Integer
WorkflowSequence
YesNone
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

Indexes (2)

Relations (2)

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

  • ExpressionTable → ExpressionTable

    Join on ExecuteStepId = ExpressionTable.ExpressionId

    Many WorkflowStepTable records → zero or one ExpressionTable record

  • WorkflowElementTable → WorkflowElementTable

    Join on ElementId = WorkflowElementTable.ElementId

    Many WorkflowStepTable records → exactly one WorkflowElementTable record

Get this data out

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

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

Email sales@drdynamics.co.uk