Question
5
Replies
569
Views
Knowledge Expert
Posted: January 11, 2019
Last activity: May 8, 2019
Closed
Skip Declare Expression calculation based on condition
Is it possible to skip Declare Expression calculation based on condition?
E.g I have property ".AccountNumber" and I want have it recalculated by DE only if ".Type" != "Other". I tried to avoid using conditions inside of DE and otherwise condition with ".AccountNumber" = ".AccountNumber", but such circular references are not supported
***Edited by Moderator Marissa to update platform capability tags****
I'm not sure if this will work, but I was able to get around the circular reference by having the otherwise set the value of the property to the output of a MapValue rule. That rule just returns the current value of the property.
Does this actually work if you try it?