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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ElementIdUnique GUID of the task or element. | GuidWorkflowElementId | No | None | |
AutoCompleteActionName of the action taken when the element completes automatically. | StringWorkflowAutoCompleteAction | No | None | |
AutoCompleteIdID of the expression used for the automatic actions. | GuidExpressionId | No | ExpressionTable.ExpressionId | None |
ConditionalIdID of an expression used as a condition for the element. | GuidExpressionId | No | ExpressionTable.ExpressionId | None |
ConfigurationIdID of the workflow configuration that contains this element. | GuidWorkflowConfigurationId | No | WorkflowVersionTable.ConfigurationId | None |
ElementNameName of the element. | StringWorkflowElementName | No | None | |
ElementTypeType of the workflow element. | EnumWorkflowElementType (enum) | No | None | |
EnableActionsInWorkListShows whether actions can be taken from the work list in Enterprise Portal (No or Yes). | EnumWorkflowEnableActionsInWorkListNoYes (enum) | No | None | |
ExecuteSubWorkflowShows whether a subworkflow is run (No or Yes). | EnumNoYes (enum) | No | None | |
ExecuteSubWorkflowIdID of the expression linked to running a subworkflow. | GuidExpressionId | No | ExpressionTable.ExpressionId | None |
FinalApproverAccountUser account of the final approver. | StringWorkflowFinalApproverAccount | No | None | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
NameName of the task. | String (60)WorkflowConfigurationElementName | No | None | |
ParallelBranchTablePoints to the parallel branch record that the element belongs to, if any. | Int64RefRecId | No | WorkflowParallelBranchTable.RecId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
RequiredShows whether the element is required (No or Yes). | EnumWorkflowElementRequiredNoYes (enum) | No | None | |
RunInParallelShows whether subworkflows run in parallel (No or Yes). | EnumWorkflowSubWorkflowRunInParallelNoYes (enum) | No | None | |
SequenceOrder number of the element in the workflow. | IntegerWorkflowSequence | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
UseAutoCompleteShows whether automatic actions are turned on for the element (No or Yes). | EnumNoYes (enum) | No | None | |
UseFinalApproverShows whether a final approver is used for the element (No or Yes). | EnumNoYes (enum) | No | None |
Indexes (3)
TaskIdxReplacement keyUnique, alternate key.
ConfigurationIdxNot unique.
ElementTypeIdxNot unique.
Relations (6)
Each relation joins WorkflowElementTable to another table on the fields shown.
AutoCompleteCondition→ExpressionTableJoin on
AutoCompleteId = ExpressionTable.ExpressionIdMany WorkflowElementTable records → zero or one ExpressionTable record
ConditionalGateway→ExpressionTableJoin on
ConditionalId = ExpressionTable.ExpressionIdMany WorkflowElementTable records → zero or one ExpressionTable record
ExpressionTable→ExpressionTableJoin on
ExecuteSubWorkflowId = ExpressionTable.ExpressionIdMany WorkflowElementTable records → zero or one ExpressionTable record
UserInfo→UserInfoJoin on
FinalApproverAccount = UserInfo.idMany WorkflowElementTable records → zero or one UserInfo record
WorkflowParallelBranchTable→WorkflowParallelBranchTableJoin on
ParallelBranchTable = WorkflowParallelBranchTable.RecIdMany WorkflowElementTable records → zero or one WorkflowParallelBranchTable record
WorkflowVersionTable→WorkflowVersionTableJoin on
ConfigurationId = WorkflowVersionTable.ConfigurationIdMany 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.