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

AuthorizationException trying to access rules in certain classes

SA-45858

Summary



The user upgraded from PRPC 6.3 SP1 to Pega 7.2.2.

Prior to the upgrade, some classes were deleted from the old database as the user thought they were no longer being used.

Afterwards, they found out there were still rules associated with those classes so they imported the classes but errors still occurred when trying to open the rules and at runtime.

The user also tried deleting the class and recreating it in Pega 7.


Error Messages



Error in Obj-Open-By-Handle
com.pega.pegarules.pub.database.AuthorizationException: You are not authorized to open instance RULE-OBJ-ACTIVITY ORG-ENTERPRISE-DATA-INTERFACES-ACTIVITYNAME #20170911T154349.489 GMT

When processing flow action in application getting error:
The Flow Action post-processing activity PostChecklist failed: Error: You lack access required to execute Rule-Obj-Activity.activityName


Steps to Reproduce



Delete class rules from database prior to upgrade.


Root Cause



An issue in the custom application code or rules where class rules were deleted directly from the database but rules associated with those classes were still in the system and being referenced.

Resolution



Perform the following steps to resolve the issue:
  1. Cleared the conclusion cache from memory and the database using the System Management Application (SMA).
    1. ​In SMA, navigate to Advanced > Conclusion Cache
    2. Click 'Clear Conclusion Cache in Memory'
    3. Click 'Clear Conclusion Cache in Database'
  2. Restarted the servers.

Published November 7, 2017 - 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