This n8n workflow manages concurrent execution of a main workflow using Redis as a status flag. It begins with a schedule trigger that repeatedly checks if the workflow is idle by querying Redis. If the workflow is not already running, it sets a ‘running’ status in Redis and then executes the main workflow. After completion, it resets the status to ‘idle’ to allow future runs. The setup includes sticky notes for troubleshooting and configuration guidance, making it ideal for scheduling and preventing overlapping processes in automation tasks. This approach ensures efficient, conflict-free automation execution, especially useful in systems that require strict control over concurrent workflows.
Automated Workflow Control with Redis Flagging
Node Count | 11 – 20 Nodes |
---|---|
Nodes Used | executeWorkflow, filter, if, manualTrigger, noOp, redis, scheduleTrigger, stickyNote |
Reviews
There are no reviews yet.