Posted: 27 Nov 2018 14:23 EST Last activity: 6 Dec 2018 9:14 EST
Declare Expression does not update the property value.
We have a new change implemented in production in which a new SLA is introduced for which the deadline property is created and updated by a declare expression. We have no issues with the cases created. But for the inflight cases the declare expression is not triggered and value of the Deadline property is null.
Solution tried: We tried to call the property using Property-Seek-Value method but as the call activity is in the FW layer and the option in the Change tracking is "Only when the top-level page is of the Applies To class" we get errors.
When the Calculate value is changed to "Whenever Used" the issue gets resolved. But looking if there is any other solution.
For in-flight cases, are any of the properties changing which are part of declare expression?
If Whenever input changes in enabled and input properties are changing and still declare expression is not getting triggered then it sounds like a bug. Could you confirm the above and also paste configuration screenshots for declare expression?
For the inflight cases, the target property is new as it is added in the new version. "Whenever input changes" is enabled, and there are no changes in the input properties. Since this is enabled, the target property is null or not calculated for inflight cases. New cases, there are no issues.