elsa-workflows / elsa-workflows/elsa-core
Elsa 3.5.1: Bulk Dispatch Workflows does sometimes not finish
- Dominant language
- C#
- Stars
- 7.9k
- Forks
- 1.5k
- Avg merge
- 15h 22m
- Merged PRs (30d)
- 114
Description
Hi,
first of all, thank you for this amazing framework!
I am using Elsa to trigger some functionalities of our ERP-System.
However, i sometimes experience a problem, where the Bulk Dispatch Workflow activity does not transition to the finished state when a relatively large amount of Workflows is being dispatched. (>~100). It stays in the "suspended" state and does therefore not allow any new instance of this workflow to be executed, as the workflow is configured to be a singleton.
This it the first workflow:
The sub-workflows inside the Bulk Dispatch Activity do not contain any logic. For now I do not care, if the workflows have succeeded or failed.
The workflow triggerd by the Bulk Dispatcher containts the following logic:
When the issue occurs, the only workflow instance in the "suspended" state is the one in question. All other dispatched workflows from it seem to have finished or faulted.
Is there a way to troubleshoot the issue? Or is there a better way of handling this case?
If you need more information or logs, i will provide them.
Contributor guide
Assessment
This issue has not been assessed yet.