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

pega:forEach tag forced to lowercase in correspondence rule

SA-37209

Summary



Tags in camelCase like <pega:forEach> are forced to lowercase when the correspondence rule they are part of is saved.

This means that, after the rule is saved once, further saves will fail due to the tag not existing.


Error Messages



content of stream definition: ** The tag "foreach" with prefix "pega" is unrecognized


Steps to Reproduce



1) Create a correspondence rule that has a tag like <pega:forEach> in it.
2) Save the rule a second time.


Root Cause



A defect in Pegasystems’ code or rules.

pega:forEach is case sensitive, and saving the correspondence rule changes all tags to be lowercase.

Resolution



The first time once the rule is saved, and when the tags are in camelCase, the rule actually saves correctly and should work correctly.

It's only if you save it a second time that it shows the error.


This is correct in Pega 7.2.2 - pega:forEach (and similar camelCase tags) are no longer case sensitive.

Published May 14, 2017 - 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