Previous Behaviour
In situations where a contact satisfied the requirements for two or more triggers at the same time, a race condition could occur in the workflows, leading to the same contact being enrolled multiple times. This occurrence was due to simultaneous entries not being able to detect each other in time, leading to repetitive executions of the workflow for the same contact.
Updated Behaviour
Connectly has now introduced a locking mechanism on workflowId and contactId to rectify the aforementioned issue. As a result, only a single entry for a contact can be processed at a given time, effectively removing any duplicate entries.
Impact
This improvement brings more reliability and consistency to the workflows, providing accurate and efficient executions without the risk of duplicate entries.
Point to remember
The system’s function for appointment, invoice and IVR triggers will remain unchanged, as we do not check for re-entry in these cases.