Commit graph

7 commits

Author SHA1 Message Date
Sipke Schoorstra e0f57a7ac0 Update ObjectConverter to not throw when value is null 2021-10-01 19:11:34 +02:00
Sipke Schoorstra a3f40c95f7 Fix type cast issue due to JSON serialization of enums
When the workflow instance gets persisted in the DB, activity enum properties get stored as an integer (Int64), which cannot be cast to the enum.

This change fixes that by performing a conversion instead of a direct cast.

Fixes #1515
2021-09-17 10:53:23 +02:00
Sipke Schoorstra 97b2cbfde4 Improve type conversion error message 2021-08-04 15:12:38 +02:00
Sipke Schoorstra 4f9f56fd97 Handle conversion of numeric value to enum and JToken values to strong types
Fixes #1088
2021-06-20 19:41:54 +02:00
Sipke Schoorstra 757a2f566f Refactor activity state serialization to support property types typed as object 2021-06-07 22:04:36 +02:00
Sipke Schoorstra 67be790c7d Fix access to container properties and improve object type conversion 2021-01-03 11:06:11 +01:00
Sipke Schoorstra 993e08ea89
Refactored Switch Activity (#545)
* Add IfThen activity + sample

* Add match mode

* Rename IfThen to Switch
2020-12-29 16:40:21 +01:00