Comments (1)
Based on the information provided, it seems that you are trying to capture the "Completed" status of a container activity within Elsa Workflows, but you are only able to get "Pending" and "Running" statuses. This could be due to the way the workflow execution lifecycle is managed within Elsa, or it might be related to the specific implementation of your ActivityExecuted
and ActivityExecuting
event handlers.
Elsa Workflows has a concept of middleware that can be used to intercept the workflow execution pipeline. You can implement IActivityExecutionMiddleware
to create custom middleware that can capture various activity statuses. However, capturing the "Completed" status of a container activity might require additional considerations, such as subscribing to events or notifications that Elsa might publish when activities change their status.
If you are using Elsa 3.0, as indicated in one of the GitHub issues, you might want to look into the event system that Elsa provides. Elsa 3.0 has an event bus that publishes events for various workflow and activity lifecycle events, including when an activity is executed and completed.
To troubleshoot further, you may want to:
- Ensure that your middleware is correctly registered and configured in your application.
- Verify that you are subscribing to the correct events or using the middleware pipeline correctly to capture the "Completed" status.
- Check the Elsa documentation and community forums for any known issues or updates related to activity status events.
If you continue to face issues, consider reaching out to the Elsa community or creating an issue on the Elsa GitHub repository for more specific guidance.
This comment was generated by Glime.
from elsa-core.
Related Issues (20)
- [BUG]In the api "elsa/api/workflow-instances/{instance_id}" result,"JSON.workflowState.activityExecutionContexts" is empty? HOT 1
- [BUG]Why the "ActivityExecuted" Implement Can't get the "Completed" status of Container activity HOT 1
- [BUG] IsSystem property is manditory for Definitions and Instances HOT 1
- How to disable built-in activities registration? HOT 3
- [ENH] Increase stability and performance of publishing workflow definition HOT 1
- Elsa.Samples.AspNet.DynamicActivityProvider import json error HOT 1
- Pending modelchanges Elsa 2.14.1 HOT 1
- [BUG] Elsa has references to obsolete nuget package MassTransit.Extensions.DependencyInjection HOT 2
- [BUG] There is no `CurrentValue` variable in the For Loop Activity HOT 1
- [BUG] Cannot use Elsa: `Scheme already exists: Bearer` HOT 6
- [BUG]Email sending failed HOT 1
- [BUG] Exception 'Activity Descriptor Not Found' After Windows Update HOT 2
- [BUG] ParallelForEach Behavior Inconsistency HOT 2
- [BUG] C# scripting memory leak HOT 1
- [BUG] Elsa.UseMongoDb() options.DatabaseName does not set Database HOT 1
- [BUG] The call is ambiguous between the following methods or properties: Microsoft.AspNetCore.Mvc.Versioning with .net8 HOT 1
- [BUG] Returning Null from Elsa Mediator handler SendAsync throws InvalidCastException HOT 1
- [BUG] Error running project HOT 1
- [BUG] IFormFile in c# scripting HOT 1
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.