Support Article
Data Page does not load if MQ Listener accesses it first
SA-99014
Summary
Data page does not load when the Message Queue (MQ) listener starts after a server restart. The MQ Listener rule references the Queue Manager value from the datapage. The datapage is populated through a custom activity and by invoking a report definition.
Error Messages
com.pega.pegarules.pub.PRRuntimeException: Error: You lack access required to execute RULE-OBJ-ACTIVITY RULE-OBJ-REPORT-DEFINITION PXRETRIEVEREPORTDATA #20190102T204530.234 GMT.
at com.pega.pegarules.session.internal.mgmt.Executable.updateStepStatusAndLog(Executable.java:1026) ~[prprivate-session.jar:?]
Steps to Reproduce
- Configure an MQ Listener.
- Configure the Queue Manager value with a data page.
- Configure a custom activity.
- In a Step, invoke a report definition using Rule-Obj-Report-Definition.PXRETRIEVEREPORTDATA to populate required values for the MQ Listener.
- Restart the Pega server, or manually delete the datapage and restart the MQ Listener. The Listener fails to start as the data page does not contain the required parameters.
Root Cause
A defect in Pegasystems’ code or rules.
Changes to the authentication required including an additional property set to allow the unauthenticated MQ Listener to execute the PXRETRIEVEREPORTDATA activity.
Resolution
Perform the following local-change:
In the datapage Loader activity before invoking the report definition, in a Step, perform a Property-set and set the Param.pzUseCurrentAccessGroupForChild to 'true'.
Published April 1, 2020 - 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.