Comments (1)
To address the issue of the parent workflow not waiting for the child workflow to complete despite the 'WaitForCompletion' property being set to true
, we need to consider several factors that could be causing this behavior.
Firstly, ensure that the DispatchWorkflow
activity in the parent workflow is correctly configured with the WaitForCompletion
property set to true
. This should theoretically cause the parent workflow to wait until the child workflow has completed before proceeding.
If the configuration is correct and the issue persists, it could be related to a known issue with the WriteHttpResponse
activity going into a suspended state, as mentioned in the GitHub issues 5270 and 4895. These issues describe scenarios where the WriteHttpResponse
activity does not terminate as expected and instead causes the workflow to suspend.
The problem might be related to the HTTP context not being available after a delay or asynchronous operation, as described in the GitHub issue 4895. The WriteHttpResponse
activity expects to be resumed within an HTTP context, which may not be present if the workflow is resumed from a background job.
To troubleshoot further, you can:
- Review the configuration of both the parent and child workflows to ensure they are set up correctly according to the documentation and examples provided by Elsa Workflows.
- Check for any updates or patches to Elsa Workflows that might address this issue.
- Consider reaching out to the Elsa Workflows community or support channels with detailed information about your workflows and the issue you're encountering.
If you provide the JSON files for the parent and child workflows, I could review them for any potential misconfigurations. However, without access to the actual workflow definitions, the above suggestions are the best course of action based on the information provided.
This comment was generated by Glime.
from elsa-core.
Related Issues (20)
- How to make the activity execute automatically after the process is restored? HOT 1
- [BUG] toJson() incorrectly decodes encoded characters HOT 1
- [CHORE] Update packages to latest version
- Migrate Elsa 2 to use AutoMapper 13.0.1 to avoid conflicts HOT 2
- Elsa.WriteLine expression and memory reference HOT 1
- [BUG] WorkflowInput does not persist in Bookmark Callback HOT 1
- Next Activity Found But Not Scheduled After Resume [Elsa 3.1.2] HOT 5
- Could you please help me solve this problem as soon as possible? Thank you! HOT 2
- Read event inputs in next activity? HOT 3
- [BUG] Timer Trigger not respecting SingletoneStrategy HOT 4
- Elsa 3.1 oracle migration support HOT 1
- [BUG] Default CRON causes extremely high memory usage until Out of Memory exception HOT 10
- [ENH] Include dropdown when using a nullable enum in an activity input HOT 2
- [BUG] Race Condition in WorkflowDefinitionActivity Causing Execution Failures HOT 1
- [BUG] ResumeWorkflowAsync at ActivityNodeId losing Input values between activities HOT 3
- Unable to Open Workflow Instance View Screen in Customized Elsa UI HOT 4
- Workflow instance viewer activity badges don't update after resuming workflow for a suspended HttpEndpoint activity HOT 1
- [BUG] InvalidOperationException: No service for type 'Elsa.Api.Client.Resources.Package.Contracts.IPackageApi' has been registered. HOT 2
- [DOC] Blocking activities has incorrect code examples HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elsa-core.