Wait Shape when advancing flow!
Hi,
Greetings. We configured a Wait shape to pause for 120 seconds before advancing the flow to next step in the stage. Next step in the stage is a utility which writes event to audit, then to next stage. In the next stage, there is an utility to sendemail if there is an error in that utility what will happen to the case? at the moment, the case is in broken queue items and there are no assignments created. I always see the same error as below
Hi,
Greetings. We configured a Wait shape to pause for 120 seconds before advancing the flow to next step in the stage. Next step in the stage is a utility which writes event to audit, then to next stage. In the next stage, there is an utility to sendemail if there is an error in that utility what will happen to the case? at the moment, the case is in broken queue items and there are no assignments created. I always see the same error as below
2018-10-15 15:58:06,499 [ PegaRULES-Batch-4] [ STANDARD] [ ] [USettlement:01.01.30] ( internal.mgmt.Executable) ERROR - Exception
com.pega.pegarules.pub.PRAppRuntimeException: Caused by Save, Delete or Commit has failed because lock "HO-EUSETTLEMENT-WORK EUS-9153-3051-4433-0004" is not held
at com.pegarules.generated.activity.ra_action_resumeflow_791448c90bc318018f58d1da9f2aca95.step7_circum0(ra_action_resumeflow_791448c90bc318018f58d1da9f2aca95.java:654) ~[?:?]
at com.pegarules.generated.activity.ra_action_resumeflow_791448c90bc318018f58d1da9f2aca95.perform(ra_action_resumeflow_791448c90bc318018f58d1da9f2aca95.java:174) ~[?:?]
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3597) ~[prprivate.jar:?]
at com.pegarules.generated.callActivity_071027_yoB3RheCwDdLlLDKhZ4s2w.callActivity07_10_27(callActivity_071027_yoB3RheCwDdLlLDKhZ4s2w.java:133) ~[?:?]
at com.pegarules.generated.callActivity_071027_yoB3RheCwDdLlLDKhZ4s2w.invoke(callActivity_071027_yoB3RheCwDdLlLDKhZ4s2w.java:80) ~[?:?]
at com.pega.pegarules.generation.internal.library.LibraryRuntime.resolveAndinvokeFunctionViaReflection(LibraryRuntime.java:222) ~[prprivate.jar:?]
at com.pega.pegarules.generation.internal.library.LibraryRuntime.invokeLibraryRuntime(LibraryRuntime.java:119) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.mgmt.Executable.invokeLibraryRuntime(Executable.java:9201) ~[prprivate.jar:?]
at com.pega.pegarules.priv.generator.LibrarySupport.resolveAndInvokeFunctionViaReflectionWithException(LibrarySupport.java:275) ~[prpublic.jar:?]
at com.pegarules.generated.activity.ra_action_executesla_fa2882d547e5bde96b62307aa1df4293.step19_circum0(ra_action_executesla_fa2882d547e5bde96b62307aa1df4293.java:2125) ~[?:?]
at com.pegarules.generated.activity.ra_action_executesla_fa2882d547e5bde96b62307aa1df4293.perform(ra_action_executesla_fa2882d547e5bde96b62307aa1df4293.java:435) ~[?:?]
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3597) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10845) ~[prprivate.jar:?]
at com.pegarules.generated.activity.ra_action_processevent_13dbf998333209fe57f14c113f3419d2.step7_circum0(ra_action_processevent_13dbf998333209fe57f14c113f3419d2.java:724) ~[?:?]
at com.pegarules.generated.activity.ra_action_processevent_13dbf998333209fe57f14c113f3419d2.perform(ra_action_processevent_13dbf998333209fe57f14c113f3419d2.java:199) ~[?:?]
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3597) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.async.agent.QueueProcessor.runActivity(QueueProcessor.java:786) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.async.agent.QueueProcessor.execute(QueueProcessor.java:655) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.async.BatchRequestorTask.run(BatchRequestorTask.java:1055) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1327) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1075) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:957) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.async.BatchRequestorTask.run(BatchRequestorTask.java:761) ~[prprivate.jar:?]
at com.pega.jsr166backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:991) ~[prjsr166java6-3.0.jar:?]
at com.pega.jsr166backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:532) ~[prjsr166java6-3.0.jar:?]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_74]
Any ideas which one is holding the lock?
Regards,
Bharat