Topic
When trying to start a Component Workflow from another Component Workflow which started from the List Workflow, the following error may occur:
"Could not start child workflow"
Instructions
The maximum depth limit when calling component workflows is set to one. The parent-child workflow depth cannot exceed one.
Additional Information
For example, consider the following scenarios with different depths:
- Scenario 1: A List workflow is designed to start Component workflow 1 and Component workflow 1 starts Component workflow 2. This workflow will fail in this scenario as the depth exceeds the limit as shown below:
- List workflow (depth 0)
- Component workflow 1 (depth 1)
- Component workflow 2 (depth 2)
- Scenario 2: Component workflow 1 that starts Component workflow 2 is added to a workflow. The workflow is successful because the depth does not exceed the limit value as shown below:
- Component workflow 1 (depth 0)
- Component workflow 2 (depth 1)