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 when accessing property rules

SA-46000

Summary



When importing several property rules and a report definition rule into an environment, the built on class rule does not exist in the environment or in the imported RAP file. Unable to open the property rules and report definition rules after generating a new RAP file and importing the class instance.


Error Messages



Error in Obj-Open-By-Handle
com.pega.pegarules.pub.database.AuthorizationException: You are not authorized to open instance RULE-OBJ-PROPERTY YOURCLASSNAME STATUSID #20171017T155418.103 GMT
at com.pega.pegarules.pub.database.AuthorizationException.createCannotOpenException(AuthorizationException.java:206)
at com.pega.pegarules.data.internal.access.DatabaseImpl.open(DatabaseImpl.java:4489)
at com.pega.pegarules.pub.runtime.AbstractActivity.objOpenByHandle(AbstractActivity.java:121)



Steps to Reproduce

  1. Import a RAP file which includes rules but not the built on class rule.
  2. Import a RAP which includes the built on class rule.


Root Cause



A defect or configuration issue in the operating environment. Although the rules are now valid, the conclusion cache still included invalid entries.


Resolution



Perform the following steps to resolve the issue:
  1. Clear 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. Restart the servers.

Published December 6, 2017 - Updated October 8, 2020

Was this useful?

100% 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