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

Rules Circumstancing is not working on Pega Survey



You observe that rule circumstance does not work in PegaSurvey. Neither property based nor template based circumstances work. At run time only the base rule is getting called.

Error Messages

Not Applicable

Steps to Reproduce

  1. Create Survey specific rules like Question page.
  2. Create circumstance version of that Question Page rule. (Either property based or Template based)
  3. At run time set values in pyWorkPage accordingly.
  4. See only base rule is getting called.

Root Cause

The root cause of this problem is a defect in Pegasystems’ code/rules. Circumstance is not fully supported in PegaSurvey. That means proper implemenation of circumstance is not done for PegaSurvey rule types.


This issue can be solved by these below local changes
  • For Property based: While creating property based circumstance rule use pyWorkPage.Property instead of only Property
  • For Template Based: While creating Template use pyWorkPage.Property instead of only Property. Now save as Template and Definition in Embed-PegaQ-Results-QuestionGroup class. Doing so the engine will call right circumstaned rule.

Published June 12, 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