Question
Eclatprime Digital Private Limited
IN
Last activity: 3 Jan 2023 12:13 EST
Wait shape issue in Split-For-Each flow - Assignment getting Corrupted
Hi All,
Facing an issue with wait shape - where the assignment is getting corrupted and case does not move forward.
This issue happens when there is a wait shape in Split for each flow. Detailed scenario below:
Hi All,
Facing an issue with wait shape - where the assignment is getting corrupted and case does not move forward.
This issue happens when there is a wait shape in Split for each flow. Detailed scenario below:
- When the flow is executing on pyWorkPage, there is no issue and wait shape assignment resumes automatically after specified time (eg 1 minute).
- BUT, when the flow (having wait shape) is inside split-for-each, then flow executes on pyWorkPage.PagelistProperty(). In this scenario when wait assignment is trying to resume, it is getting corrupted.
- Timing in wait shape is 1 minute.
- In Tracer - I can see that assignment is getting corrupted in Pega OOTB Activity which is performFlowAction in java step which validates the assignment
- Broken Queue Message: it just says below
-
<pxErrorList REPEATINGTYPE="PropertyList"> <rowdata REPEATINGINDEX="1">Caused by This assignment has been corrupted and processing cannot proceed. </rowdata> </pxErrorList> <pxWarnings REPEATINGTYPE="PageList"/> <pxQueueErrorDetails REPEATINGTYPE="PageList"> <rowdata REPEATINGINDEX="1"> <pxObjClass>Embed-QueueErrorDetails</pxObjClass> <pxErrorMessage>Caused by This assignment has been corrupted and processing cannot proceed. </pxErrorMessage> <pxErrorDateTime>20220715T065016.449 GMT</pxErrorDateTime> <pyAttempt>1</pyAttempt> <pxTraceList>[]</pxTraceList>
- Pega Log Message:
-
2022-07-15 03:06:58,524 [ PegaRULES-Batch-4] [ STANDARD] [ ] [ WCMRisk:01.01.01] ( internal.mgmt.Executable) ERROR - Exception com.pega.pegarules.pub.PRAppRuntimeException: Caused by This assignment has been corrupted and processing cannot proceed. at com.pegarules.generated.activity.ra_action_resumeflow_4154b677be76e3554ae85ac7caada594.step7_circum0(ra_action_resumeflow_4154b677be76e3554ae85ac7caada594.java:647) ~[?:?] at com.pegarules.generated.activity.ra_action_resumeflow_4154b677be76e3554ae85ac7caada594.perform(ra_action_resumeflow_4154b677be76e3554ae85ac7caada594.java:176) ~[?:?] at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:2722) ~[prprivate-session.jar:?] at com.pegarules.generated.callActivity_080101_2223927609556540475.callActivity08_01_01(callActivity_080101_2223927609556540475.java:133) ~[?:?] at com.pegarules.generated.callActivity_080101_2223927609556540475.invoke(callActivity_080101_2223927609556540475.java:80) ~[?:?] at com.pega.pegarules.generation.internal.library.LibraryRuntime.resolveAndinvokeFunctionViaReflection(LibraryRuntime.java:230) ~[prprivate-generation.jar:?] at com.pega.pegarules.generation.internal.library.LibraryRuntime.invokeLibraryRuntime(LibraryRuntime.java:121) ~[prprivate-generation.jar:?] at com.pega.pegarules.session.internal.mgmt.Executable.invokeLibraryRuntime(Executable.java:9476) ~[prprivate-session.jar:?] at com.pega.pegarules.priv.generator.LibrarySupport.resolveAndInvokeFunctionViaReflectionWithException(LibrarySupport.java:275) ~[prpublic.jar:?] at com.pegarules.generated.activity.ra_action_executesla_464350f6cf89e0b6dd36c2aed60a7659.step19_circum0(ra_action_executesla_464350f6cf89e0b6dd36c2aed60a7659.java:2129) ~[?:?] at com.pegarules.generated.activity.ra_action_executesla_464350f6cf89e0b6dd36c2aed60a7659.perform(ra_action_executesla_464350f6cf89e0b6dd36c2aed60a7659.java:437) ~[?:?] at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:2722) ~[prprivate-session.jar:?] at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:11108) ~[prprivate-session.jar:?] at com.pegarules.generated.activity.ra_action_processevent_a0fe4cb35cf43f7f04680f577d97ebfe.step7_circum0(ra_action_processevent_a0fe4cb35cf43f7f04680f577d97ebfe.java:706) ~[?:?] at com.pegarules.generated.activity.ra_action_processevent_a0fe4cb35cf43f7f04680f577d97ebfe.perform(ra_action_processevent_a0fe4cb35cf43f7f04680f577d97ebfe.java:201) ~[?:?] at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:2722) ~[prprivate-session.jar:?] at com.pega.pegarules.session.internal.async.agent.QueueProcessor.runActivity(QueueProcessor.java:833) ~[prprivate-session.jar:?] at com.pega.pegarules.session.internal.async.agent.QueueProcessor.execute(QueueProcessor.java:627) ~[prprivate-session.jar:?] at com.pega.pegarules.session.internal.async.BatchRequestorTask.run(BatchRequestorTask.java:1157) ~[prprivate-session.jar:?] at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1382) ~[prprivate-session.jar:?] at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1125) ~[prprivate-session.jar:?] at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1006) ~[prprivate-session.jar:?] at com.pega.pegarules.session.internal.async.BatchRequestorTask.run(BatchRequestorTask.java:817) ~[prprivate-session.jar:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_332] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java) ~[?:1.8.0_332] at java.lang.Thread.run(Thread.java:750) [?:1.8.0_332]
Please suggest a solution if you have faced similar issue.
NOTE: This issue is reproducible in Pega 8.3.3 & Pega 8.6.1 environment just by creating a main Flow which has split-For-Each shape and flow called in split-for-each should have a wait shape ( 1 minute time).
***Edited by Moderator Marije to add BUG tag***