Thanks for you reply.
We have an application deployed on two application servers so as to ensure failover scenarios. Each application server is connected to its respective database. That means we have two oracle database which is synced up using golden gate. And Activiti Engine on each of these app servers.
Problem is that both the Activiti Engine picks up the same transaction which has expired and deletes the same record in its respective DBs. Due to this, the golder gate, when tries to sync up the data/deletes the record (which has been already deleted), it throws error and golden gate crashes as it is unable to delete the data.
Q1 Is the framework designed to handle such configuration somehow by updating the record with some attributes to prevent other Engine to pick up the same record?
Q2 If not, then is it possible to do something such that when one Activiti Engine picks up the record, the other Activiti Engine should not pick up the same record?
Thanks in advance