Get and compare object with previous version
I have use case, when I need to subscribe to object changes. Object has an int field. I need to execute logic in subscriber (Notify Listener Container) only in case if (previous version of the object had value = 0 and current value > 0) OR (previous value >0 and current value = 0). But in notify containers and polling containers I didn't find a way - how I can take previous version of the object.
Is it possible to cover this use case? Because I need to handle this situation in Near Real Time.