Support Article
Strategy rule fails on referencing when rule with @when() syntax
SA-43928
Summary
On updating to Pega 7.3, a Strategy rule fails with design time validation on referencing a when rule with @when(isOnlineApplication) syntax.
Error Messages
pyExpression—
** Instance of class Rule-Obj-When not found: SR.IsCustInitiated
pyExpression—
** Instance of class Rule-Obj-When not found: SR.isOnlineApplication
pyExpression—
** Instance of class Rule-Obj-When not found: SR.CheckLMType
pyExpression—
** Instance of class Rule-Obj-When not found: SR.IsCEPOpp
Steps to Reproduce
- Update and migrate from Pega 7.1.9 to 7.3
- Create a Strategy rule with @when(isOnlineApplication) in Set property
- Save the rule
Root Cause
The Strategy rule referencing a when rule having @when() syntax fails since it is not supported in Pega 7.3.
Resolution
Apply HFix-37260.
Published December 6, 2017 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.