Flow has been triggered twice at the same time when two record updates happens concurrently even if the flow is configured to trigger once on update


Description

Flow has been triggered twice at the same time when two record updates happens concurrently even if the flow is configured to trigger once on update

Steps to Reproduce

Requires muti-node instance
1. Create an async BR on any table (problem) with Insert & Update enabled
2. The BR should have a script that updates any field in the record and does a 'current.update()'
3. Create a flow that triggers on Record Update on 'problem' table & Run trigger as 'Run Once'
4. Activate flow
5. Trigger flow by making update to 'problem' table

On occasion, the flow can trigger more than once, which violates the 'Run Once' configuration

Workaround

Change BR to "before" or "after" so that the updates happen in the same transaction.

or

Add some delay between the two updates so that they do not occur at the same time.


Related Problem: PRB1445168