elsa-core/src/modules/Elsa.Workflows.Core/Contexts
Sipke Schoorstra 31092f8d81
Enhance BulkDispatchWorkflows Activity with Support for Multiple Input Keys and Customizable Input Key (#5182)
* Add PublicAPI attribute to ActivityExecutionContext

The 'PublicAPI' attribute has been added to the ActivityExecutionContext class. This signals that this class is part of our public API and should not be modified in a way that violates backward compatibility. Furthermore, the 'RequiresUnreferencedCode' attributes were removed from the 'CompleteActivityAsync' and 'CompleteActivityWithOutcomesAsync' methods, as these methods no longer need them.

* Add merge function to DictionaryExtensions

A new merge function has been added to the DictionaryExtensions. This function combines the contents of two dictionaries, prioritizing the keys and values from the second dictionary whenever there is a collision.

* Add default item input key in BulkDispatchWorkflows

The code has been adjusted to include a default input item key in the BulkDispatchWorkflows module. This key will be used for the item input when dispatching workflows, unless the Items field contains a list of dictionaries. Additionally, modifications have been made to convert the item into an input dictionary if it isn't already one and merge this with the input dictionary.

* Update Merge method documentation in DictionaryExtensions

The commit adds a critical detail about dictionary operation in the method summary. It clearly states that during the merge operation, the value from the 'other' dictionary overwrites the value in the target dictionary when the same key exists in both.
2024-04-04 16:07:32 +02:00
..
ActivityCompletedContext.cs Minor improvements and bug fixes following the 3.1 release (#5168) 2024-04-02 07:41:46 +02:00
ActivityExecutionContext.Cancel.cs Minor improvements and bug fixes following the 3.1 release (#5168) 2024-04-02 07:41:46 +02:00
ActivityExecutionContext.Complete.cs Enhance BulkDispatchWorkflows Activity with Support for Multiple Input Keys and Customizable Input Key (#5182) 2024-04-04 16:07:32 +02:00
ActivityExecutionContext.cs Enhance BulkDispatchWorkflows Activity with Support for Multiple Input Keys and Customizable Input Key (#5182) 2024-04-04 16:07:32 +02:00
ActivityExecutionContext.ExecutionLogEntry.cs Refactor logging to exclude activity state 2024-02-04 10:47:03 +01:00
ResumedBookmarkContext.cs Add a more generic UIHandler to customize how inputAttributes can be handle by UI (#4688) 2023-12-26 18:56:29 +01:00
SignalContext.cs Add a more generic UIHandler to customize how inputAttributes can be handle by UI (#4688) 2023-12-26 18:56:29 +01:00
StorageDriverContext.cs Add a more generic UIHandler to customize how inputAttributes can be handle by UI (#4688) 2023-12-26 18:56:29 +01:00
TriggerIndexingContext.cs Add a more generic UIHandler to customize how inputAttributes can be handle by UI (#4688) 2023-12-26 18:56:29 +01:00
WorkflowExecutionContext.Cancel.cs Workflow cancellation (#4813) 2024-01-23 12:05:03 +01:00
WorkflowExecutionContext.cs Fix flowchart completion after faulted child activity cancellation (#5145) 2024-03-29 20:38:09 +01:00
WorkflowExecutionContext.ExecutionLogEntry.cs Workflow cancellation (#4813) 2024-01-23 12:05:03 +01:00
WorkflowIndexingContext.cs Add a more generic UIHandler to customize how inputAttributes can be handle by UI (#4688) 2023-12-26 18:56:29 +01:00