Table
WorkflowSubWorkflow
Subworkflows
Holds the settings of a subworkflow that a workflow configuration can start. It is keyed by the subworkflow ID (ElementId). It links to a workflow configuration version, a parallel branch and the line item workflow. It also stores whether one workflow runs for all lines or one per line.
- Table name
WorkflowSubWorkflow- Module
Workflow- Table group
Framework- Table type
Regular- Data per company
No- Configuration key
None- Primary index
None- Replacement key
ElementIdx- Key fields
ElementId- Model
ApplicationFoundation
Fields (16)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ElementIdUnique ID of the subworkflow. It is the key of this table. | GuidWorkflowSubWorkflowId | Yes | 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 | |
ElementNameName of the line item workflows element. | StringWorkflowLineItemWorkflowElementName | No | None | |
ElementTypeType of workflow element this record represents. | EnumWorkflowElementType (enum) | No | None | |
LineItemTypeShows whether one workflow handles all lines or a separate workflow runs for each line. | EnumWorkflowLineItemType (enum) | No | None | |
NameName of the task in the workflow configuration. | String (60)WorkflowConfigurationElementName | Yes | None | |
ParallelBranchTablePoints to the parallel branch record that this subworkflow belongs to. | 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 | |
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 | |
WaitForCompleteYes/No flag showing whether the parent workflow waits for this subworkflow to finish. | EnumWorkflowSubWorkflowWaitForCompleteNoYes (enum) | No | None | |
WorkflowTablePoints to the workflow configuration used as the line item workflow. | Int64RefRecId | No | WorkflowTable.RecId | None |
WorkflowVersionTablePoints to the workflow configuration version that contains this subworkflow. | Int64RefRecId | No | WorkflowVersionTable.RecId | None |
Indexes (4)
WorkflowVersionTableIdxNot unique.
WorkflowTableIdxNot unique.
WorkflowParallelBranchTableIdxNot unique.
ElementIdxReplacement keyUnique, alternate key.
Relations (3)
Each relation joins WorkflowSubWorkflow to another table on the fields shown.
WorkflowParallelBranchTable→WorkflowParallelBranchTableJoin on
ParallelBranchTable = WorkflowParallelBranchTable.RecIdMany WorkflowSubWorkflow records → zero or one WorkflowParallelBranchTable record
WorkflowTable→WorkflowTableJoin on
WorkflowTable = WorkflowTable.RecIdMany WorkflowSubWorkflow records → zero or one WorkflowTable record
WorkflowVersionTable→WorkflowVersionTableJoin on
WorkflowVersionTable = WorkflowVersionTable.RecIdOne or more WorkflowSubWorkflow records → zero or one WorkflowVersionTable record
Get this data out
No public entity reads from WorkflowSubWorkflow. Its data is only reachable through the application, a custom entity or a database export.
Need help with WorkflowSubWorkflow in a report, an integration or a migration? Talk to Dr Dynamics.