elsa-workflows / elsa-workflows/elsa-studio
Complex Nested Workflows throws "CurrentDepth (32) is equal to or larger than the maximum allowed depth of 32" Error
- Dominant language
- C#
- Stars
- 301
- Forks
- 181
- Avg merge
- 17h 12m
- Merged PRs (30d)
- 42
Description
While working with complex nested workflows (like copy pasting or adding more children), throws "CurrentDepth (32) is equal to or larger than the maximum allowed depth of 32" error.
Tried changing JsonSerializerOptions MaxDepth as 1024 wherever possible, but still throwing the same error.
**Steps to Reproduce**
Create an activity that includes complex nested activities (multiple nesting close to 20 depth).
Copy the entire activity.
Attempt to paste the copied activity within the same or a different workflow.
**Expected Behavior**
The activity and its nested activities should be successfully copied and pasted without errors.
**Actual Behavior**
The operation fails with a "CurrentDepth (32) is equal to or larger than the maximum allowed depth of 32" error.
Contributor guide
Assessment
This issue has not been assessed yet.