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

Not able to Add a new State to pyState OOTB



Using Pega Out-of-the-box (OOTB) Property : pyState defined in - CL : @baseclass , ID : pyState , RS : Pega-RULES:07-10-01, when user is adding a new State to the Field Value in their Ruleset Version and CL : Data-Party , the newly added states are not getting reflected in the user screen whereas in designer studio the newly added state is listed under the field values.

Error Messages

Not Applicable

Steps to Reproduce

Add a New State to Field Value pyState and then check in Pega OOTB property : pyState defined in - CL : @baseclass , ID : pyState , RS : Pega-RULES:07-10-01 , new state is not getting added to property : pyState.

Root Cause

An issue in the custom application code or rules.

The control "PickState" was being used to display the property, pyState which was refering to field values.

In this control, the dropdown values are hard coded. Hence the newly created field values were not getting displayed in the drop-down.


Perform the following local-change:

Instead of "PickState" control, use the "Dropdown" control, with list source as "As defined on property".

Published May 4, 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