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 descriptionType / EDT / enumMandatoryReferencesIn public entities
ConfigurationSequenceNumberSequence number of the workflow configuration that holds the subworkflow.String (20)
WorkflowSequenceNumber
NoWorkflowTable.SequenceNumberNone
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
ElementIdID of the workflow task (element) that this subworkflow is attached to.Guid
WorkflowElementId
YesWorkflowElementTable.ElementIdNone
ExecuteWorkflowShows whether the subworkflow always runs or runs only when a condition is met.Enum
WorkflowSubWorkflowConditionType (enum)
NoNone
ExecuteWorkflowIdID of the expression that holds the run condition.Guid
ExpressionId
NoExpressionTable.ExpressionIdNone
NameName given to the subworkflow.String (60)
WorkflowSubWorkflowName
YesNone
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
SequenceNumber that sets the order of the subworkflow.Integer
WorkflowSequence
YesNone
SubWorkflowIdUnique ID of the subworkflow.Guid
WorkflowSubWorkflowId
YesNone
SubWorkflowTableName of the table used by the subworkflow.String
WorkflowSubWorkflowTableName
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
WaitForCompleteYes/No flag showing whether the main workflow waits for this subworkflow to finish.Enum
WorkflowSubWorkflowWaitForComplete
NoYes (enum)
NoNone

Indexes (2)

Relations (3)

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

  • ExpressionTable → ExpressionTable

    Join on ExecuteWorkflowId = ExpressionTable.ExpressionId

    Many WorkflowSubWorkflowTable records → zero or one ExpressionTable record

  • WorkflowElementTable → WorkflowElementTable

    Join on ElementId = WorkflowElementTable.ElementId

    Many WorkflowSubWorkflowTable records → exactly one WorkflowElementTable record

  • WorkflowTable → WorkflowTable

    Join on ConfigurationSequenceNumber = WorkflowTable.SequenceNumber, WorkflowTable.Type = null

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

Email sales@drdynamics.co.uk