twenty icon indicating copy to clipboard operation
twenty copied to clipboard

Workflow failures due to parallel runs.

Open BersteinMilza opened this issue 1 month ago • 4 comments

Bug Description

Workflow runs can interfere with each other.

Example: Workflow triggered by record update, search for records, delete them and create new records. When triggered successively by several fields changes, the workflow will fail during deletion loop as another run already deleted records.

This is a even bigger issue as this is usually the last runs that will fail, so without updating record with the last data.

Expected behavior

Some workflow should not run in parallel. Workflows should have options to choose behavior.

Options can be global (this workflow will never run in parallel) or trigger record specific (this workflow will not run in parallel when triggered by the same record).

Technical inputs

Exemple of automations modes in home assistant:

Image

BersteinMilza avatar Oct 22 '25 17:10 BersteinMilza