Support Article
Spinoff flow not preventing case from resolving
SA-25435
Summary
A subflow shape with the "spinoff" option checked in a case's final flow does not prevent the case type from closing the stage and resolving the case.
The spunoff flow and an assignment is still present but the case is resolved-completed.
Error Messages
Not Applicable.
Steps to Reproduce
- Create a case type with a single step.
- Within this flow, add a subflow shape with "spinoff" checked. The subflow should contain an assignment step.
- Run the case.
- Observe that the case resolves with the open assignment or flow still present on the case.
Root Cause
The documentation clarifies that spunoff flows are independent of their callers, and hence it is expected system behavior that that the calling flow will move on to the end shape after the spinoff, even though the subflow still has a waiting assignment.
Resolution
Do not use a spunoff subflow if the expectation is that the caller wait until the subflow is completed before moving on.
Published July 27, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.