Support Article
Data Type not showing records if Access When rule in ARO defined
SA-64065
Summary
Unable to view records on defining the 'Access when' rule in the Access role to object (ARO) of a class.
On selecting the Records tab in data type rule, error displays on defining the 'Access when' in the ARO for the same class.
Error Messages
[tp-apr-8080-exec-228] [TABTHREAD0] [ ] [ABCD:01.01.01] (sembly.jspwhen.JspWhenEvaluate) ERROR xxx|xx.xx.xx.xx TestSU - Problem evaluating When condition: Failed to find a 'RULE-ACCESS-WHEN' with the name 'ISNOTBAANDATA' that applies to 'Code-Pega-Thread'. There were 3 rules with this name in the rulebase, but none matched this request. The 3 rules named 'ISNOTBAANDATA' defined in the rulebase are:
3 unrelated to applies-to class 'Code-Pega-Thread', for example: {RR-Marine-Data, PegaFSM-Data-, Data-Admin-Operator-ID}.
[tp-apr-8080-exec-228] [TABTHREAD0] [ ] [ABCD:01.01.01] (el_Task_DataTableEditor.Stream) ERROR xxx|xx.xx.xx.xx TestSU - Section 'pzRecordsEditorWrapper' execution error on page 'D_pzRecordsEditor_pa512709523710666pz' of class 'PegaAccel-Task-DataTableEditor'.
com.pega.pegarules.pub.PRRuntimeException: Error evaluating cell visible when '!pzIsPegaExpress && (pzHasUpdateAccess || pzHasDeleteAccess)' .
at com.pega.pegarules.session.internal.mgmt.autostreams.AutoStreamRuntimeImpl.handleEvaluateWhen(AutoStreamRuntimeImpl.java:1247) ~[prprivate.jar:?]
Steps to Reproduce
- Create and add an ARO to the operators Access Group.
- In the ARO rule, add the Access Class similar to the data type class.
- Create a When rule in the data type class and set it in Write Instances and Delete Instances columns.
- Select the data type and navigate to the Records tab.
Root Cause
A defect in Pegasystems’ code or rules.
Resolution
Apply HFix-46769.
Published October 18, 2018 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.