WorkflowRedisOpen

Prevent concurrent workflow runs using Redis

Triggered manually or by an app event. Connects Condition, Execute Workflow, Redis, Stop And Error, Switch, Wait. Check if working Will output status if something is going on. Inputs: - action - "get" - key - a string used for tracking Remove unused inputs when calling workflow Set workflow start Inputs: - action - "set" - key - a string used for tracking - value - "working" by default but you can

Front matter
name: Prevent concurrent workflow runs using Redis
description: Triggered manually or by an app event. Connects Condition, Execute Workflow, Redis, Stop And Error, Switch, Wait. ## Check if working Will output status if something is going on. Inputs: - action -> "get" - key -> a string used for tracking * Remove unused inputs when calling workflow * ## Set workflow start Inputs: - action -> "set" - key -> a string used for tracking - value -> "working" by default but you can use whatever, you can use this multiple times in combination with get to track progress of a execution. * Remove unused inputs when calling workflow * ## Set workflow end This mark workflow end
category: Automation
kind: Workflow
software: Condition|Execute Workflow|Redis|Stop And Error|Switch|Wait

Prevent concurrent workflow runs using Redis

Triggered manually or by an app event. Connects Condition, Execute Workflow, Redis, Stop And Error, Switch, Wait. ## Check if working Will output status if something is going on.

Inputs:

  • action -> "get"
  • key -> a string used for tracking
  • Remove unused inputs when calling workflow * ## Set workflow start

Inputs:

  • action -> "set"
  • key -> a string used for tracking
  • value -> "working" by default but you can use whatever, you can use this multiple times in combination with get to track progress of a execution.
  • Remove unused inputs when calling workflow * ## Set workflow end

This mark workflow end

Steps

  • When Executed by Another Workflow (executeWorkflowTrigger)
  • Switch (switch)
  • When clicking ‘Test workflow’ (manualTrigger)
  • If2 (if)
  • Sticky Note (stickyNote)
  • Sticky Note1 (stickyNote)
  • Is Workflow Active (executeWorkflow)
  • Set Workflow Active (executeWorkflow)
  • Sticky Note2 (stickyNote)
  • Set Workflow Finished (executeWorkflow)
  • Sticky Note3 (stickyNote)
  • Get Key (redis)
  • Set Key (redis)
  • UnSet Key (redis)
  • Set Timeout (set)
  • set continue (set)
  • If Node (if)
  • Is Workflow Active1 (executeWorkflow)
  • Stop and Error (stopAndError)
  • No Operation, do nothing (noOp)
  • Set Workflow Active1 (executeWorkflow)
  • Set Workflow Finished1 (executeWorkflow)
  • Sticky Note4 (stickyNote)
  • Wait (wait)
  • Sticky Note5 (stickyNote)
  • If1 (if)
  • Is Workflow Active2 (executeWorkflow)
  • Stop and Error1 (stopAndError)
  • Set Workflow Finished2 (executeWorkflow)
  • Sticky Note6 (stickyNote)
  • Wait1 (wait)
  • Sticky Note7 (stickyNote)
  • Wait2 (wait)
  • Wait3 (wait)
  • Set Workflow "started" (executeWorkflow)
  • Sticky Note8 (stickyNote)
  • Sticky Note9 (stickyNote)
  • Set Workflow "finishing" (executeWorkflow)
  • Set Workflow "loading" (executeWorkflow)
  • Is Workflow Active3 (executeWorkflow)

Import

Download the JSON from the GitHub source and import it in n8n (Workflows, Import from file).

Source: https://github.com/Zie619/n8n-workflows/blob/main/Stopanderror/0925_Stopanderror_Wait_Automate_Triggered.md

Author: Zie619, n8n workflow collection. License: MIT.

Shown here with formatting for the web. Keep the author and license notice when you reuse it.

Related entries

There are more like this in the members library

The n8n workflow library holds 1,814 entries. Members can search all of them by meaning and read every one in full.