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

Error while saving rule to higher ruleset version



When saving an activity with property-set methods that reference declarative expression properties into a higher ruleset version, user encounters an error.

Error Messages

"Target property already specified in another expression: RULE-DECLARE-EXPRESSIONS MyClass.MyProperty"

Steps to Reproduce

Create an activity where the target property of any declare expression is referenced directly.

Root Cause

The root cause of this problem is a defect in customer application code/rules. Targets of Declare Expressions are not allowed to be modified directly.


The explanation for this behavior is as follows:
​You must not directly modify properties that are the target of a Declare Expression.

Published July 23, 2018 - 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