RuleNotFoundException page property is referenced
When attempting to reference a property from a Data Transform, a Rule Not Found exception is thrown.
This issue is not reproduced if an activity is used in place of the Data Transform step which references the property.
[MSG][RuleNotFoundException][STACK][com.pega.pegarules.pub.generator.RuleNotFoundException: Failed to find a 'RULE-OBJ-WHEN' with the name 'MYWHENRULE' that applies to 'MYCO-FW-MYPROJ-Data-Product'. There were four rules with this name in the rulebase, but none matched this request. The 4 rules named 'MYWHENRULE' defined in the rulebase are: 4 unrelated to applies-to class 'MYCO-FW-MYPROJ-Data-Product', for example: 'MYCO-FW-MYPROJ-Work'.
Steps to Reproduce
Attempt to use the when rule from a Data Transform rule.
Tracer showed that that the step page class mismatched the applies-to class of the When rule. The step page class was MYCO-FW-MYPROJ-Data-Product while the When rule applies-to class was MYCO-FW-MYPROJ-Work.
Either use a step page having the same class as the When-rule, or create a new When-rule whose applies-to class matches the class of the step page.