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 find pyWorkParty page and properties in section

SA-16177

Summary



Unable to resolve the references provided in Pages&Classes tab, if the references starts with a dot.


Error Messages



pyCondition: Property PegaFS-Data-Party.PrimaryRegulatorKey is undefined.


Steps to Reproduce



1. Define Section in Work Class and define .pyWorkParty() reference in pages&classes tab which references to a subclass of Data-Party-Operator.
2. Use this reference for a visible expression for any field or layout  by giving the expresstion as .pyWorkParty(ElementaryClient).Property.
3. Try to save the section.



Root Cause



PRPC does not support the references which starts with dot, in all the rules. In this particular case, you need to use Primary page or pyWorkPage instead of directly referring the page which starts with dot.

Resolution



Perform the following local-change:

if .pyWorkParty it is part of a top level page (such as, pyWorkPage), then declare the reference in page and classes as follows:

    • Type of top level page (for example, type of pyWorkPage)
    • Type of embedded property (for example, pyWorkPage.pyWorkParty() )
If it is part of Primary page, then declare in pages and classes


    • Type of primary page using keywork "Primary"
    • Type of embedded property (for example, Primary.pyWorkParty() )

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