Elimination of Racing conditions for Triggers

Elimination of Racing conditions for Triggers | Clixio Changelog

  • 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.
  • We’ve implemented a locking mechanism on workflowId and contactId to address this issue.
  • Now, only one entry for a contact can be processed at a time, eliminating duplicates.
  • This enhancement ensures that workflows are now more reliable and consistent, providing you with accurate and efficient executions without the risk of duplicate entries.
  • The functionality would remain the same for appointment, invoice and IVR triggers, where we don’t check for re-entry.