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 rules in PegaSurvey execute in the pyWorkpage Context



After upgrading to Pega 7.2.2, the When rules, for Dependent questions, execute in the context of the pyWorkPage despite passing a different page context.

Error Messages

Not Applicable

Steps to Reproduce

  1. Create a survey with Dependent questions and add a When rule to the question.
  2. Call the survey on an embedded Page context.

    For example, pyWorkPage.Page1.Page2

    The When rule applied on the question executes under pyWorkpage context instead of the embedded Page context.

Root Cause

A defect in Pegasystems’ code or rules.


Apply HFix-37122.

Suggest Edit

Published December 15, 2017 - Updated December 2, 2021

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

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