Support Article
Error while saving rule to higher ruleset version
SA-10966
Summary
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.
Resolution
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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.