Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

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

  1. Create a case type with a single step.
  2. Within this flow, add a subflow shape with "spinoff" checked. The subflow should contain an assignment step.
  3. Run the case.
  4. 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

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us