elsa-core/src/modules/Elsa.Workflows.Core
Sipke Schoorstra 60a349c8eb
Fix WorkflowExecutionContext bug (#4919)
* Rename Elsa.IntegrationTests to Elsa.Workflows.IntegrationTests

* Include missed files

* Update WorkflowExecutionContext to assign Activities

This commit updates the constructor of WorkflowExecutionContext. It adds a loop that iterates through each activityExecutionContext and associates its Activity with a corresponding one in the NodeIdLookup by using its NodeId as the key.

* Add versionOptions parameter to RunWorkflowUntilEndAsync method

This update introduces the versionOptions parameter to the RunWorkflowUntilEndAsync method, giving the user control over the version of the workflow they want to run. If no options are provided, the method defaults to running the published version.

* Add new integration tests and workflow samples

Created new integration test projects, Elsa.Alterations.IntegrationTests and Elsa.Workflows.IntegrationTests, for added functionality verification. Also added new workflow sample files "alteration-test.json" and "alteration-test.-v2.json" to "samples/aspnet/ElsaAlterationMigrateBug/Workflows" for testing purposes.

* Remove ElsaAlterationMigrateBug sample

This commit removes the ElsaAlterationMigrateBug sample from the project. The sample is no longer needed and its related files including workflows and project references have been deleted from the solution. This removal helps streamline the solution and remove unnecessary clutter.

* Update comment in MigrationTests.cs

The comments in the MigrationTests.cs file have been revised to provide a more accurate description of what happens in the code. The migration process described does not involve resetting execution, so any reference to it was removed.

* Refactor MigrationTests class summary description

The summary description of the MigrationTests class has been revised. The verb 'Represents' was removed to make the comment more concise and straightforward, focusing solely on its functional aspect.

* Update MigrationTests class constructor comments

The summary comments for the MigrationTests class constructor were corrected. Previously, it indicated that it represented a class containing tests for migration, which was inaccurate. It now properly describes that it initializes a new instance of the MigrationTests class.
2024-02-09 19:37:37 +01:00
..
Abstractions Add a more generic UIHandler to customize how inputAttributes can be handle by UI (#4688) 2023-12-26 18:56:29 +01:00
ActivationValidators Add a more generic UIHandler to customize how inputAttributes can be handle by UI (#4688) 2023-12-26 18:56:29 +01:00
Activities Update InputJsonConverter to deserialize complex value types into their original type (#4878) 2024-02-05 21:39:49 +01:00
Attributes Add a more generic UIHandler to customize how inputAttributes can be handle by UI (#4688) 2023-12-26 18:56:29 +01:00
Behaviors Add a more generic UIHandler to customize how inputAttributes can be handle by UI (#4688) 2023-12-26 18:56:29 +01:00
Builders Add fluent methods for input handling in workflow builder 2024-02-05 21:38:36 +01:00
Contexts Fix WorkflowExecutionContext bug (#4919) 2024-02-09 19:37:37 +01:00
Contracts Add fluent methods for input handling in workflow builder 2024-02-05 21:38:36 +01:00
Enums Add a more generic UIHandler to customize how inputAttributes can be handle by UI (#4688) 2023-12-26 18:56:29 +01:00
Exceptions Add a more generic UIHandler to customize how inputAttributes can be handle by UI (#4688) 2023-12-26 18:56:29 +01:00
Expressions Add a more generic UIHandler to customize how inputAttributes can be handle by UI (#4688) 2023-12-26 18:56:29 +01:00
Extensions Update InputJsonConverter to deserialize complex value types into their original type (#4878) 2024-02-05 21:39:49 +01:00
Features Merge scope change into main (#4738) 2024-01-02 14:52:53 +01:00
Helpers Add a more generic UIHandler to customize how inputAttributes can be handle by UI (#4688) 2023-12-26 18:56:29 +01:00
IncidentStrategies Add a more generic UIHandler to customize how inputAttributes can be handle by UI (#4688) 2023-12-26 18:56:29 +01:00
Memory Add a more generic UIHandler to customize how inputAttributes can be handle by UI (#4688) 2023-12-26 18:56:29 +01:00
Middleware Refactor logging to exclude activity state 2024-02-04 10:47:03 +01:00
Models Fix typo in Obsolete attribute message 2024-02-04 10:47:03 +01:00
Notifications Add a more generic UIHandler to customize how inputAttributes can be handle by UI (#4688) 2023-12-26 18:56:29 +01:00
Options Workflow cancellation (#4813) 2024-01-23 12:05:03 +01:00
Pipelines Add a more generic UIHandler to customize how inputAttributes can be handle by UI (#4688) 2023-12-26 18:56:29 +01:00
PortResolvers Add a more generic UIHandler to customize how inputAttributes can be handle by UI (#4688) 2023-12-26 18:56:29 +01:00
Serialization Add serialization tests and refactor serialization classes 2024-02-06 08:45:54 +01:00
Services Optimize activity execution contexts filtering 2024-02-02 21:38:51 +01:00
Signals Add input parameter to ScheduleChildActivity signal 2024-01-17 22:32:06 +01:00
State Add a more generic UIHandler to customize how inputAttributes can be handle by UI (#4688) 2023-12-26 18:56:29 +01:00
UIHints Add UI hints for HTTP endpoint and single line fields 2023-12-28 20:52:04 +01:00
Elsa.Workflows.Core.csproj Convert to use Central Package Management 2024-02-04 13:49:54 +02:00
Elsa.Workflows.Core.csproj.DotSettings
FodyWeavers.xml
IsExternalInit.cs