I'm facing an issue when a credit limit sales order is created in CRM.
They are creating the order and manking a change to it 5 seconds later. Those created and changed events are triggered with a difference of 5 seconds and in background, the first WF is triggered (with the created event) and 5 seconds later other instance of that WF is triggered (with the changed event).
The problem is that the first WF is not being logically deleted when the seconds one is created (it has a wait step at the beggining of the WF to end in case another instancer of the WF is triggered).
This is caused by a perfoirmance issue that when the seconds WF is triggered, the first one is still not listening to the changed event.
Do you know if there's any way to solve this?