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

Unable to modify Visibility condition in deprecated Button



Post upgrade to Pega 7.1.7, a Section has a deprecated Button control and the Visibility field has Condition (expression) populated to an expression.

The condition is changed to Always and after submission, visibility field automatically changes to Condition (When rule), that is, the changes are not getting saved.

Error Messages

No error messages.

Steps to Reproduce

1. Create a Section with Button control in PRPC 5.x version.
2. Configure visibility condition in button to an expression and save it.
3. Change the visibility condition to 'always' in button and save it.
4. Upgrade this system to Pega 7.1.7.
5. Open this Section > Button, and observe that Visibility field is set to Condition.

Root Cause

Issue was with UpgradeOnOpen Activity which is called when a Section is launched. Since the pyVisibleWhen is not empty while upgrade the Activity changes the pyVisibleWhen to 'Other'.


Add a condition to check if pyVisible is not 'Always'. This change is packaged under HFix-23312.

Published August 14, 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