elsa-core/test/component/Elsa.Workflows.ComponentTests/Scenarios
Sipke Schoorstra 476656ccce
Implement internal state activity persistence and logging mechanisms (#6601)
* Implement internal state activity persistence and logging mechanisms

Updated property handling to support nullable dictionaries and improved persistable states. Adjusted serialization logic to handle optional fields more robustly, ensuring better compatibility with log persistence mappings and internal state evaluations.

* Replace default! with null! for string properties

Updated string properties in various records to use null! instead of default! for consistency and clarity. Additionally, adjusted methods to check collection existence before serialization and streamlined object initializations with simplified syntax where possible.

* Fix nullable types in DeserializeActivityState method

Updated the method's return type and JSON deserialization to properly handle nullable values. This ensures better alignment with the method's behavior and avoids potential null reference issues.

* Fix null reference issues in InputOutputLoggingTests

Replaced forced null dereferences with safe navigation checks to prevent potential null reference exceptions. This ensures more robust and error-free test execution for activity state validations.
2025-04-18 14:29:18 +02:00
..
Activities/FlowJoins Update flowchart activity scheduling, implicit join (and FlowJoin/WaitAll) now only waits for followed connections 2025-02-12 23:27:40 -05:00
BasicWorkflows Add ExecuteWorkflow activity (#6134) 2024-11-21 16:44:25 +01:00
BulkDispatchWorkflows Disable flaky test in BulkDispatchWorkflowsTests. 2024-12-14 20:01:11 +01:00
CachingAndWorkflowDefinitionActivity Add ExecuteWorkflow activity (#6134) 2024-11-21 16:44:25 +01:00
ClusteredHosting Add ExecuteWorkflow activity (#6134) 2024-11-21 16:44:25 +01:00
DispatchWorkflows Refactor DispatchWorkflows tests and skip flaky test. 2024-12-14 20:30:27 +01:00
ExecuteWorkflows Add ExecuteWorkflow activity (#6134) 2024-11-21 16:44:25 +01:00
HttpWorkflows Fix route data handling (#6176) 2024-12-04 11:31:03 +01:00
InputOutput Add synthetic properties to JS engine for exclusion (#6178) 2024-12-05 09:30:31 +01:00
JavaScriptVariables Refactor variable initialization for clarity and consistency 2025-03-13 21:05:28 +01:00
LogPersistenceModes Implement internal state activity persistence and logging mechanisms (#6601) 2025-04-18 14:29:18 +02:00
Multitenancy Add ExecuteWorkflow activity (#6134) 2024-11-21 16:44:25 +01:00
Variables Fix incorrect syntax for generating GUID in CountdownWorkflow 2025-03-13 21:34:18 +01:00
WorkflowActivities Add ExecuteWorkflow activity (#6134) 2024-11-21 16:44:25 +01:00
WorkflowCompletion Add ExecuteWorkflow activity (#6134) 2024-11-21 16:44:25 +01:00
WorkflowDefinitionRefresh Add ExecuteWorkflow activity (#6134) 2024-11-21 16:44:25 +01:00
WorkflowDefinitionReload Add ExecuteWorkflow activity (#6134) 2024-11-21 16:44:25 +01:00
WorkflowJsonStructures Add ExecuteWorkflow activity (#6134) 2024-11-21 16:44:25 +01:00