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

When condition is not working at ACTION Condition for "Open url

SA-42214

Summary



When condition is not working at ACTION Condition for "Open URL in window".

System displays pop-up window with activity status Success/Error and When condition execution is not triggering.


Error Messages



Not Applicable


Steps to Reproduce



1. Create a link on portal and on click of that Place Open URL In window action and call activity from there. (Activity contains show-harness as one of the step)
2. Harness will Open
3. Crate a section inside that harness
4. Keep Button in that section
5. Add Action events as below
a. Refresh Other section and Call activity inside that (Activity has below steps)

1. Property-set (pyDisplayHarness.ValidateStatus = "Open")
2. Obj-validate (Call validate rule)
3. Property-set with precondition as hasMessages (pyDisplayHarness.ValidateStatus = "Replace")

set one Primary page property(pyDisplayHarness.ValidateStatus) value to "XYZ"
b. Take Open URL In window action, give an activity and include When condition as below:
pyDisplayHarness.ValidateStatus="Open"


Root Cause



The changes updated in Activity for the property are not properly updated to property on click action.

Resolution


Perform the following local-change:

Add the validate Status in the section where both actions should work and use the inline style as display:none on presetntation tab of the property to hide it.

So the property will be updated on click of an action and not seen in UI.

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