elsa-core/src/modules/Elsa.Workflows.Runtime.Distributed
Sipke Schoorstra 6741db388b
Fix background activity completion (#5882)
* Enhance logging and state handling in workflows

Added debug logging in `BookmarkResumer` and `StoreBookmarkQueue` to track workflow resumptions and queue additions. Updated `ICommitStateHandler` to include `WorkflowState` parameter and modified related implementations. Adjusted logging configuration in sample app and removed unused service import.

* Add CustomProperties entry for RootType in AgentActivity

This change ensures that the `RootType` property is set to `AgentActivity` inside the `AgentActivityProvider`. It enhances the descriptor's metadata, enabling clearer classification and potentially improving integration with other components.

* Update RemoveBookmarksAsync to use BookmarkIds instead of Hashes

Modified RemoveBookmarksAsync to filter bookmarks by BookmarkIds rather than Hashes for improved accuracy. Updated filter creation logic to accommodate the new identifier field.

* Fix commit state handler call in WorkflowRunner

Add workflowState as an argument to commitStateHandler.CommitAsync. This ensures that the commitStateHandler has the necessary context to commit properly and maintains consistency in workflow state changes.
2024-08-10 10:41:35 +02:00
..
Extensions Refactor Workflow Runtimes (#5444) 2024-06-10 19:36:51 +02:00
Features Fix background activity completion (#5882) 2024-08-10 10:41:35 +02:00
Handlers Refactor Workflow Runtimes (#5444) 2024-06-10 19:36:51 +02:00
Services Fix background activity completion (#5882) 2024-08-10 10:41:35 +02:00
Elsa.Workflows.Runtime.Distributed.csproj Add Bookmark Queue and Restore Background Activity Execution (#5758) 2024-07-15 22:37:14 +02:00
Elsa.Workflows.Runtime.Distributed.csproj.DotSettings Add Bookmark Queue and Restore Background Activity Execution (#5758) 2024-07-15 22:37:14 +02:00
FodyWeavers.xml Refactor Workflow Runtimes (#5444) 2024-06-10 19:36:51 +02:00