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

Open Rule By Name action does not work in Pega 7



While clicking on a link which is configured to open a rule by name, user getts  "Failure opening the rule instance" error.

Error Messages

End user portal: Failure opening the rule instance

Tracer: Database.NotFound exception.

Steps to Reproduce

1. Create a link.
2. Configure the link with action - Open Rule By Name and provide insname of the rule to be opened.
3. Click on the link from the end user portal. Error can be seen on the screen.

Root Cause

The root cause of this problem is a defect in Pegasystems’ code/rules. 
The issue is occurring because the parameter insName is missing when the WBOpen activity is called.
The wrapper activity WBOpenLaunch activity which calls WBOpen activity passes a parameter “InsName” (with captial I) whereas WBOpen expects a parameter “insName”(with small i), hence the error.


This issue is resolved through the following local-change: 

Use the Open Rule By Keys instead of Open Rule By Name on OnClick event to fix the issue.

Published June 30, 2015 - 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