Description
Currently, Elsa Studio
triggers workflows using the synchronous /execute endpoint. This causes the client to wait for workflow completion and can lead to blocking behavior, timeouts, or poor UX for long-running workflows.
It would be useful if Elsa Studio could optionally use the asynchronous /dispatch endpoint instead, allowing workflows to be scheduled and executed in the background.
Expected behavior
Motivation
Using /dispatch would:
- avoid blocking HTTP requests,
- improve handling of long-running workflows,
- reduce timeout-related failures,
- better support distributed/background execution scenarios.
Description
Currently, Elsa Studio
triggers workflows using the synchronous /execute endpoint. This causes the client to wait for workflow completion and can lead to blocking behavior, timeouts, or poor UX for long-running workflows.
It would be useful if Elsa Studio could optionally use the asynchronous /dispatch endpoint instead, allowing workflows to be scheduled and executed in the background.
Expected behavior
Elsa Studio should support triggering workflows through /dispatch.
Ideally this could be:
The UI should handle async execution gracefully:
Motivation
Using /dispatch would: