What is singleton workflow? How it works ?
- A Singleton workflow ensures that only one instance of that workflow runs on a single Agent at a time.
- Any new request is queued and executed only after the current run completes.
- 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
-