Forum Post: Undocumented behavior of Expressions across Charts, APIs and UI

Status
Not open for further replies.
C

cohezive

Guest
I have an expression that counts days in a status. According to the documentation, expression values are only updated when the object is updated. When generating a Chart based on this expression, the Day Count is correct in its calculation - however, no updates occurred on these records until their status changed.. When I create a batch job to update (increment) a field, an API update does not trigger an Expression value update. When I update the object via the UI, the Expression value is re-calculated. For a work-around, I can move the expression code to the batch job and use an integer value for the job update. But, the update process appears to differentiate between UI vs. API with respect to Expression Value. And Charts, those appear to calculate expressions on each request, Does the same API limitation on Expression Values updates apply to REST and JAVA calls too?.

Continue reading...
 
Status
Not open for further replies.
Top