Table
WorkflowSubWorkflowTable
Subworkflows
Stores the definition of a subworkflow within a workflow configuration. It records the subworkflow name, its order, the document it uses and whether it always runs or only under a condition. It links to a workflow configuration, a workflow element and an expression. The table has no defined key.
- Table name
WorkflowSubWorkflowTable- Module
Workflow- Table group
Framework- Table type
Regular- Data per company
No- Configuration key
None- Primary index
RecId- Replacement key
None- Key fields
None- Model
ApplicationFoundation
Fields (15)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ConfigurationSequenceNumberSequence number of the workflow configuration that holds the subworkflow. | String (20)WorkflowSequenceNumber | No | WorkflowTable.SequenceNumber | None |
DocumentKeyFieldName of the document key field used by the subworkflow. | StringWorkflowSubWorkflowDocumentKeyField | No | None | |
DocumentKeyTableName of the document table that the subworkflow works on. | StringWorkflowSubWorkflowDocumentTableName | No | None | |
ElementIdID of the workflow task (element) that this subworkflow is attached to. | GuidWorkflowElementId | Yes | WorkflowElementTable.ElementId | None |
ExecuteWorkflowShows whether the subworkflow always runs or runs only when a condition is met. | EnumWorkflowSubWorkflowConditionType (enum) | No | None | |
ExecuteWorkflowIdID of the expression that holds the run condition. | GuidExpressionId | No | ExpressionTable.ExpressionId | None |
NameName given to the subworkflow. | String (60)WorkflowSubWorkflowName | Yes | 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 | |
SequenceNumber that sets the order of the subworkflow. | IntegerWorkflowSequence | Yes | None | |
SubWorkflowIdUnique ID of the subworkflow. | GuidWorkflowSubWorkflowId | Yes | None | |
SubWorkflowTableName of the table used by the subworkflow. | StringWorkflowSubWorkflowTableName | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
WaitForCompleteYes/No flag showing whether the main workflow waits for this subworkflow to finish. | EnumWorkflowSubWorkflowWaitForCompleteNoYes (enum) | No | None |
Indexes (2)
SubWorkflowIdxNot unique.
ConfigurationIdxConfigurationSequenceNumber,SubWorkflowIdNot unique.
Relations (3)
Each relation joins WorkflowSubWorkflowTable to another table on the fields shown.
ExpressionTable→ExpressionTableJoin on
ExecuteWorkflowId = ExpressionTable.ExpressionIdMany WorkflowSubWorkflowTable records → zero or one ExpressionTable record
WorkflowElementTable→WorkflowElementTableJoin on
ElementId = WorkflowElementTable.ElementIdMany WorkflowSubWorkflowTable records → exactly one WorkflowElementTable record
WorkflowTable→WorkflowTableJoin on
ConfigurationSequenceNumber = WorkflowTable.SequenceNumber,WorkflowTable.Type = nullMany WorkflowSubWorkflowTable records → zero or one WorkflowTable record
Get this data out
No public entity reads from WorkflowSubWorkflowTable. Its data is only reachable through the application, a custom entity or a database export.
Need help with WorkflowSubWorkflowTable in a report, an integration or a migration? Talk to Dr Dynamics.