I have a situation where I need to figure out if a value has changed within 24 hours. I have tried using the hasChanged method within an expression tag, however, it’s not 100% working as I intended.
For an example, I had a tag that had a value of zero when the hasChanged event ran. That tag was then updated throughout the day, but went back to zero by the time my expression tag executed the hasChanged event again (so the previous and new value were the same).
That being said, the hasChanged method returns a value of false, however, the value actually HAD changed within the 24 hour period.
Does anyone have any suggestions on how to get this working, or is there a better solution? What i am looking for is a way to figure out if a value stayed the same for a 24 hour period, meaning if the value NEVER changes at all within those 24 hours.