Elimination of Racing conditions for Triggers

Previous Behaviour

  • In cases where a contact fulfilled the conditions for 2 or more triggers simultaneously, there was a race condition in workflows where the same contact could be enrolled multiple times.
  • This happened because simultaneous entries didn’t detect each other in time, resulting in duplicate workflow executions for the same contact.

Updated Behaviour

  • Now, only one entry for a contact will be processed at a time even if the contact tries to enter through multiple workflows. This will help eliminate duplicates.

Impact

  • This enhancement ensures that workflows are now more reliable and consistent, providing you with accurate and efficient executions without the risk of duplicate entries.

Point to remember

  • The functionality would remain the same for appointment, invoice, and IVR triggers, where we don’t check for re-entry.

Related Tags: