Spinoff flow not preventing case from resolving
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.
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.
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.
Do not use a spunoff subflow if the expectation is that the caller wait until the subflow is completed before moving on.