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

Advance Flow SLA action is not triggered

SA-68533

Summary



The Advance Flow action or the ResumeFlow activity call are not triggered from an assignment SLA. When the deadline time has passed, the case remains in the same assignment.

SLA rule with Advance Flow action configured on Deadline as in the below image:




Error Messages



Broken Queue Item with error:

** Caused by <Page Message Text>

Log file error:

[PegaRULES-Batch-4] [STANDARD] [ ] [Sandbox:01.01.01] (ExecuteSLA.Assign_.Action) ERROR   -
    at java.lang.Thread.run(Thread.java:745)
    at com.pega.jsr166backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:532)
    at com.pega.jsr166backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:991)
    at com.pega.pegarules.session.internal.async.BatchRequestorTask.run(BatchRequestorTask.java:707)
    at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:921)
    at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1039)
    at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1291)
    at com.pega.pegarules.session.internal.async.BatchRequestorTask.run(BatchRequestorTask.java:1000) at com.pega.pegarules.session.internal.async.agent.QueueProcessor.execute(QueueProcessor.java:618)
    at com.pega.pegarules.session.internal.async.agent.QueueProcessor.runActivity(QueueProcessor.java:749)
    at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3553)
    at com.pegarules.generated.activity.ra_action_processevent_13dbf998333209fe57f14c113f3419d2.perform(ra_action_processevent_13dbf998333209fe57f14c113f3419d2.java:199)
    at com.pegarules.generated.activity.ra_action_processevent_13dbf998333209fe57f14c113f3419d2.step7_circum0(ra_action_processevent_13dbf998333209fe57f14c113f3419d2.java:724)
    at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10711)
    at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3553)
    at com.pegarules.generated.activity.ra_action_executesla_3d0f7567595fa2c2b3ed686377ea92d8.perform(ra_action_executesla_3d0f7567595fa2c2b3ed686377ea92d8.java:435)
    at com.pegarules.generated.activity.ra_action_executesla_3d0f7567595fa2c2b3ed686377ea92d8.step19_circum0(ra_action_executesla_3d0f7567595fa2c2b3ed686377ea92d8.java:2113)
    at com.pega.pegarules.priv.generator.LibrarySupport.resolveAndInvokeFunctionViaReflectionWithException(LibrarySupport.java:275)
    at com.pega.pegarules.session.internal.mgmt.Executable.invokeLibraryRuntime(Executable.java:9105)
    at com.pega.pegarules.generation.internal.library.LibraryRuntime.invokeLibraryRuntime(LibraryRuntime.java:119)
    at com.pega.pegarules.generation.internal.library.LibraryRuntime.resolveAndinvokeFunctionViaReflection(LibraryRuntime.java:221)
    at com.pegarules.generated.callActivity_071027_yoB3RheCwDdLlLDKhZ4s2w.invoke(callActivity_071027_yoB3RheCwDdLlLDKhZ4s2w.java:80)
    at com.pegarules.generated.callActivity_071027_yoB3RheCwDdLlLDKhZ4s2w.callActivity07_10_27(callActivity_071027_yoB3RheCwDdLlLDKhZ4s2w.java:133)
    at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3553)
    at com.pegarules.generated.activity.ra_action_resumeflow_791448c90bc318018f58d1da9f2aca95.perform(ra_action_resumeflow_791448c90bc318018f58d1da9f2aca95.java:174)
    at com.pegarules.generated.activity.ra_action_resumeflow_791448c90bc318018f58d1da9f2aca95.step7_circum0(ra_action_resumeflow_791448c90bc318018f58d1da9f2aca95.java:654)
From: (B12F574AC053B27F497A2E4CE956F7A19) 

com.pega.pegarules.pub.PRAppRuntimeException: Caused by You shall not pass!
[PegaRULES-Batch-4] [STANDARD] [ ] [Sandbox:01.01.01] (internal.mgmt.Executable) ERROR - Exception



Steps to Reproduce



Create an SLA rule that uses  the Advance Flow action.

Or

Call the ResumeFlow activity to move the flow from the current assignment through a specified flow action.



Root Cause



The SLA Deadline is triggered. However, a broken queue item is created which contains a page level error message. 
The flow action invoked by the Advance Flow action is configured to execute a post 'After this action' activity. This activity validated the user input and executed a Page-Set-Message method to set page messages when the input is invalid.


The below image displays the Flow Action assigned with Post-processing activity.



In this case, SLA processing continued the flow automatically. These page messages stopped the progression and caused the broken queue item.  

When the Advance Flow action or ResumeFlow activity are used, the same validation criteria must be met to execute the flow action.



Resolution



Perform the following local-change:

Update the validation logic to consider situations where a flow action must be submitted automatically without valid user input.

For example,

Skip the validation or set the required fields before advancing the flow.



 

Published December 12, 2018 - 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