Support Article
Unable to resolve case using alternate stage when flow SLA exist
SA-33239
Summary
The user has configured a case type with an alternate stage to Cancel the work and the option would be available through "Other Actions". Case has flow level SLA. System throws error while trying to resolve the case using an alternate stage
Error Messages
Save, Delete or Commit has failed because lock <id> is not held
Steps to Reproduce
Create a case type where there is an alternate stage to cancel work and a flow level SLA is defined.
Root Cause
When we configure SLA for a process in Case Designer, we are setting the internal flow(pzInternalProcessFlow) as companion flow for the process. When a resolution stage ends, we iterate and remove all the flows launched using RemoveFlow RUF. RemoveFlow removes the current flow and its companion flow as well. But the loop is still iterating and trying to access the internal(companion) flow which is removed previously.
Resolution
HFIX-31991
Published February 4, 2017 - 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.