Support Article
Error displays when logging in to the application
SA-54986
Summary
An error displays when logging in to the application.
Error Messages
Error in the log:
com.pega.pegarules.pub.generator.RuleNotFoundException: Failed to find a 'RULE-OBJ-WHEN' with the name 'CRMISREVIEW' that applies to 'Data-Portal-DesignerStudio'. There were 9 rules with this name in the rulebase, but none matched this request. The 9 rules named 'CRMISREVIEW' defined in the rulebase are:
3 related to applies-to class 'Data-Portal-DesignerStudio', but were defined in rulesets which are not in your rulesetlist: {PegaCRMFW-Email:07-22-01, PegaCRMFW-Email:07-21-75, PegaCRMFW-ExchangeImpl:07-31-01}.
6 unrelated to applies-to class 'Data-Portal-DesignerStudio', for example: {PegaCRM-, PegaCA-Work}
...
at com.pega.pegarules.generation.internal.vtable.ruleres.VirtualTableResolver.throwDetailedRuleNotFoundException(VirtualTableResolver.java:733) ~[prprivate.jar:?]
at com.pega.pegarules.generation.internal.vtable.ruleres.VirtualTableResolver.resolveToCandidate(VirtualTableResolver.java:429) ~[prprivate.jar:?]
at com.pega.pegarules.generation.internal.vtable.ruleres.VirtualTableResolver.resolveToContainer(VirtualTableResolver.java:380) ~[prprivate.jar:?]
at com.pega.pegarules.generation.internal.vtable.ruleres.VirtualTableResolver.resolveRule(VirtualTableResolver.java:149) ~[prprivate.jar:?]
at com.pega.pegarules.generation.internal.vtable.VirtualTableImpl.resolveRule(VirtualTableImpl.java:370) ~[prprivate.jar:?]
at com.pega.pegarules.generation.internal.PRGenProviderImpl.get(PRGenProviderImpl.java:550) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.mgmt.Executable.evaluateWhen(Executable.java:4131) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.mgmt.Executable.invokeWhen(Executable.java:10768) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.mgmt.Executable.invokeWhen(Executable.java:10732) ~[prprivate.jar:?]
at com.pegarules.generated.html_fragment.ra_stream_userworkform_0effff29106d9da46570167d26310eb6.performStream_1(ra_stream_userworkform_0effff29106d9da46570167d26310eb6.java:191) ~[?:?]
at com.pegarules.generated.html_fragment.ra_stream_userworkform_0effff29106d9da46570167d26310eb6.execute(ra_stream_userworkform_0effff29106d9da46570167d26310eb6.java:110) ~[?:?]
at com.pega.pegarules.session.internal.mgmt.Executable.getStream(Executable.java:3960) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.mgmt.Executable.getStream(Executable.java:3782) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.mgmt.autostreams.uicomponent.json.UIComponentRuntimeImpl.emitHtmlFragment(UIComponentRuntimeImpl.java:753) ~[prprivate.jar:?]
at com.pegarules.generated.html_harness.ra_stream_pzstudio_d2d76ca58d3e22d5913be863beda4c4b.performStream_14(ra_stream_pzstudio_d2d76ca58d3e22d5913be863beda4c4b.java:9784) ~[?:?]
Steps to Reproduce
Log in to the application.
Root Cause
An issue in the custom application code or rules.
The application was built on PegaRULES; however PegaCRM-SFA:07-31-01 ruleset was listed in the application rulesets. As a result, the UserWorkForm from PegaCRM-SFA:07-31-01 was executed. This rule references the crmIsReview When rule, which resides in the CSForSA:07-31-01 ruleset. The error occured because this When rule was not accessible to the application.
Resolution
Include the PegaCRM-SFA:07-31-01 ruleset in to the application stack.
Published July 23, 2018 - 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.