Singleton Workflow

What is singleton workflow? How it works ?

  1. A Singleton workflow ensures that only one instance of that workflow runs on a single Agent at a time.
  2. Any new request is queued and executed only after the current run completes.
  3. Ideal for scenarios involving dependencies or shared resources.
    • Different Singleton workflows (W1, W2, W3)
      → Can run in parallel on the same Agent (based on available threads)

    • Same Singleton workflow (W1)
      → Can run in parallel across different Agents

    • Sequential workflows
      → Do not run in parallel on the same Agent