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

Error occuring when we use Open URL Window event

SA-2903

Summary



User has a button in a section,In this button she used an event 'Open URL Window' where she is having an acivity "pfInfoPost" which is called for this event .
But when she clicks on Submit button she is getting an error where it is trying to fetch the activity name with &amp added for the activity name
For Ex: Failed to find instance @baseclass.pfInfoPost2&= of type Rule-Obj-Activity

Error Messages



Failed to find instance @baseclass.pfInfoPost2&= of type Rule-Obj-Activity.

Attached teh error occuring


Steps to Reproduce



I have a button in a section,In this button I used an event 'Open URL Window' where I am having an acivity "pfInfoPost" which is called for this event .
But when I click on Submit button I am getting an error where it is trying to fetch the actvity name with &amp added for the activtiy name
For Ex: Failed to find instance @baseclass.pfInfoPost2&= of type Rule-Obj-Activity
Could you please help me in resolving the issue.


Root Cause



The root cause of this problem is software use/operation error.

The user is trying to open the window using the openURLWindow api but the activity is encoded and hence the right activity is not determined.


Resolution



This issue is resolved through the following local change: 


1. Configured button with "Open URL In New Window" option.
2. Mention activity in "Open URL In New Window" option.
3. Click the button.

PRPC will call the API openUrlInWindow in Pega_Desktop_Support.js file when we click the button and if we the oURL parameter of the API , In Non-Working environment  url is coming as encrypted format, In Working-environment URL is coming as normal format.

PRPC will do url encryption when there is below settings at prconfig.xml file.

<env name = "Initialization/SubmitObfuscatedURL" value = "true"/>
<env name = "Initialization/urlencryption" value = "true"/>

By changing the above setting to "false" for both obfuscation and encryption, the issue is resolved.

Published January 31, 2016 - 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