I have a blocking activity after a parallel foreach which is waiting for an input to be restarted, on the other hand the column [WorkflowInstances].[Data] there is only the last activity blocked and not all the activities blocked after the Paralleforeach, also DispatchWorkflowsAsync return only the last activity. any idea ?
Workflow Elsa ParallelForEach blocking activity
693 Views Asked by Maroua90 At
1
There are 1 best solutions below
Related Questions in ELSA-WORKFLOWS
- Elsa child workflow doesn't return outcomes
- Rgd usage of latest version of elsa3.0 in our production grade application
- How to stop a Timer activity after a certain condition is reached in Elsa Workflow
- Elsa Workflows for the enterprise
- ASP.NET 5 - TypeLoadException - Could not load type 'WebAssembly.JSInterop.JSCallInfo' from assembly 'Microsoft.JSInterop.WebAssembly
- HTTP Endpoint not working with Elsa ERR_CONNECTION_REFUSED
- c# - elsa workflow - child workflow - how to get workflowInstanceId of parent workflow
- how to synchronously execute workflow using Elsa workflow engine
- Workflow Elsa ParallelForEach blocking activity
- Elsa Workflow - How to implement cascade dropdown
- Elsa workflows from client apps
- Elsa work flow trigger and integration with exe
- When will Elsa 2.0 be released?
- Elsa 2.0 Why is this workflow executing both the branches of a fork, when I am expecting only one?
- Cors issue in HttpResponse Activity
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
There is a known limitation with Elsa 2 that prevents the ParallelForEach activity from being able to handle blocking activities.
The ParallelForEach activity iterates over each item immediately, thereby scheduling multiple Iterate outcomes, which schedules each subsequent activity for execution.
When a blocking activity is encountered, its ID and type is stored in the blocking activities collection in the workflow instance object.
And therein lies the problem: the blocking activities collection is a hash set - which means that every time the blocking activity gets registered here, it overwrites the one from the previous iteration.
To solve for this, the internal structure of the workflow instance needs to be changed such that it can store multiple scopes as described in this issue.