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

Issue with Harness action



Devoloper has upgraded  pega version from PRPC SP2 to Pega 7.1.7.

User has implemented  a list view with radio buttons for each row, after the selection and on click of a button it was configured  to perform the stated action sets (Reload-Harness(+)OpenURL IN Window Combination) with an activity in each set.In the harness action a harness rule and an activity is called.

The activity sets the value of pyRowStatus to true or false depending on pyRowSelected value whether the row selected or not.

And in harness rule two dynamic layouts are configured, visibility of these dynamic layouts is decide by value of pyRowStatus.

The issue is wrong dynamic layout is displayed for the first time.

Error Messages

Not applicable

Steps to Reproduce

Embed a list view in a section with selection criteria enabled on list view and have a button below the grid. Now have two action sets on click of the button - actions are
a) Harness with activity as described above. 
b) Open URL in Window with another activity.

Root Cause

Harness rule in the harness action was called before the activity thats sets the pyRowStatus value.


Make the following change on button actions:

1.Make the “Refresh-This Section” as first action.To post the pyRowSelected value on to the clipboard.
2.Remove the activity from harness action and run activity before harness rules is called by Run Activity action as second action.
3.Harness as the third action.

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