Hi,
I’m using a subscription to add real-time updates to my ad-hoc data source.
When I get a new parameterChangeEventMessage, I’m able to get the new value and the parameter it’s coming from.
However, to be able to process the change, I would need to know what the old value was.
Is there a way to get the previous value from the event message?
Ive Herreman [SLC] [DevOps Enabler] Selected answer as best
Hi,
That info is not present in the event message. The value will have to be kept by the receiving side every time when a parameterChangeEventMessage enters to be able to know what the old value was.
When subscribing, the choice can be made whether to receive the initial/current value or only when the value changes after the subscription (skip initial event).
Regards,
Ive Herreman [SLC] [DevOps Enabler] Selected answer as best