Table

WorkflowElementTable

Workflow elements

Holds the elements (tasks and similar building blocks) of a workflow configuration. Each element has a GUID, a name, a type and a sequence. It also stores settings for conditions, automatic actions, a final approver and subworkflows.

Table name
WorkflowElementTable
Module
Workflow
Table group
Framework
Table type
Regular
Data per company
No
Configuration key
None
Primary index
RecId
Replacement key
TaskIdx
Key fields
ElementId
Model
ApplicationFoundation

Fields (25)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ElementIdUnique GUID of the task or element.Guid
WorkflowElementId
NoNone
AutoCompleteActionName of the action taken when the element completes automatically.String
WorkflowAutoCompleteAction
NoNone
AutoCompleteIdID of the expression used for the automatic actions.Guid
ExpressionId
NoExpressionTable.ExpressionIdNone
ConditionalIdID of an expression used as a condition for the element.Guid
ExpressionId
NoExpressionTable.ExpressionIdNone
ConfigurationIdID of the workflow configuration that contains this element.Guid
WorkflowConfigurationId
NoWorkflowVersionTable.ConfigurationIdNone
ElementNameName of the element.String
WorkflowElementName
NoNone
ElementTypeType of the workflow element.Enum
WorkflowElementType (enum)
NoNone
EnableActionsInWorkListShows whether actions can be taken from the work list in Enterprise Portal (No or Yes).Enum
WorkflowEnableActionsInWorkList
NoYes (enum)
NoNone
ExecuteSubWorkflowShows whether a subworkflow is run (No or Yes).Enum
NoYes (enum)
NoNone
ExecuteSubWorkflowIdID of the expression linked to running a subworkflow.Guid
ExpressionId
NoExpressionTable.ExpressionIdNone
FinalApproverAccountUser account of the final approver.String
WorkflowFinalApproverAccount
NoNone
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 task.String (60)
WorkflowConfigurationElementName
NoNone
ParallelBranchTablePoints to the parallel branch record that the element belongs to, if any.Int64
RefRecId
NoWorkflowParallelBranchTable.RecIdNone
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
RequiredShows whether the element is required (No or Yes).Enum
WorkflowElementRequired
NoYes (enum)
NoNone
RunInParallelShows whether subworkflows run in parallel (No or Yes).Enum
WorkflowSubWorkflowRunInParallel
NoYes (enum)
NoNone
SequenceOrder number of the element in the workflow.Integer
WorkflowSequence
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
UseAutoCompleteShows whether automatic actions are turned on for the element (No or Yes).Enum
NoYes (enum)
NoNone
UseFinalApproverShows whether a final approver is used for the element (No or Yes).Enum
NoYes (enum)
NoNone

Indexes (3)

Relations (6)

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

  • AutoCompleteCondition → ExpressionTable

    Join on AutoCompleteId = ExpressionTable.ExpressionId

    Many WorkflowElementTable records → zero or one ExpressionTable record

  • ConditionalGateway → ExpressionTable

    Join on ConditionalId = ExpressionTable.ExpressionId

    Many WorkflowElementTable records → zero or one ExpressionTable record

  • ExpressionTable → ExpressionTable

    Join on ExecuteSubWorkflowId = ExpressionTable.ExpressionId

    Many WorkflowElementTable records → zero or one ExpressionTable record

  • UserInfo → UserInfo

    Join on FinalApproverAccount = UserInfo.id

    Many WorkflowElementTable records → zero or one UserInfo record

  • WorkflowParallelBranchTable → WorkflowParallelBranchTable

    Join on ParallelBranchTable = WorkflowParallelBranchTable.RecId

    Many WorkflowElementTable records → zero or one WorkflowParallelBranchTable record

  • WorkflowVersionTable → WorkflowVersionTable

    Join on ConfigurationId = WorkflowVersionTable.ConfigurationId

    Many WorkflowElementTable records → exactly one WorkflowVersionTable record

Get this data out

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

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

Email sales@drdynamics.co.uk