Unable to resolve case using alternate stage when flow SLA exist
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
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.
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.
0% found this useful