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 descriptionType / EDT / enumMandatoryReferencesIn public entities
ElementIdUnique ID of the subworkflow. It is the key of this table.Guid
WorkflowSubWorkflowId
YesNone
DocumentKeyFieldName of the document key field used by the subworkflow.String
WorkflowSubWorkflowDocumentKeyField
NoNone
DocumentKeyTableName of the document table that the subworkflow works on.String
WorkflowSubWorkflowDocumentTableName
NoNone
ElementNameName of the line item workflows element.String
WorkflowLineItemWorkflowElementName
NoNone
ElementTypeType of workflow element this record represents.Enum
WorkflowElementType (enum)
NoNone
LineItemTypeShows whether one workflow handles all lines or a separate workflow runs for each line.Enum
WorkflowLineItemType (enum)
NoNone
NameName of the task in the workflow configuration.String (60)
WorkflowConfigurationElementName
YesNone
ParallelBranchTablePoints to the parallel branch record that this subworkflow belongs to.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
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
WaitForCompleteYes/No flag showing whether the parent workflow waits for this subworkflow to finish.Enum
WorkflowSubWorkflowWaitForComplete
NoYes (enum)
NoNone
WorkflowTablePoints to the workflow configuration used as the line item workflow.Int64
RefRecId
NoWorkflowTable.RecIdNone
WorkflowVersionTablePoints to the workflow configuration version that contains this subworkflow.Int64
RefRecId
NoWorkflowVersionTable.RecIdNone

Indexes (4)

Relations (3)

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

  • WorkflowParallelBranchTable → WorkflowParallelBranchTable

    Join on ParallelBranchTable = WorkflowParallelBranchTable.RecId

    Many WorkflowSubWorkflow records → zero or one WorkflowParallelBranchTable record

  • WorkflowTable → WorkflowTable

    Join on WorkflowTable = WorkflowTable.RecId

    Many WorkflowSubWorkflow records → zero or one WorkflowTable record

  • WorkflowVersionTable → WorkflowVersionTable

    Join on WorkflowVersionTable = WorkflowVersionTable.RecId

    One 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.

Email sales@drdynamics.co.uk