Commit graph

24 commits

Author SHA1 Message Date
Sipke Schoorstra 16611e2a74 Undo my fix in favor of fix from Peter T. LaComb Jr 2020-10-25 21:54:15 +01:00
Sipke Schoorstra a4c0c57d12 Initialize target type in case of array value and target type wasn't specified 2020-10-25 21:50:40 +01:00
Sviataslau Hankovich cfcbc3d762
Code cleanup (#413) 2020-10-22 15:59:59 +02:00
Peter T. LaComb Jr 8fb36ef6cf
Issue 415: Null target type throws for array expressions (#416) 2020-10-22 09:55:46 +02:00
Sipke Schoorstra f44d7e12b9
Wrapping AutoMapper (#309)
* Wrapping AutoMapper
2020-05-15 12:08:02 +02:00
Sipke Schoorstra 8ec43230a7 Improve JS value converter to support object target type 2020-02-20 21:24:34 +01:00
James Doran 7356bf10c8 Moved JavaScript DI extension method namespace (#179) (#196) 2019-11-23 08:21:20 +01:00
Sipke Schoorstra ac3ea9573f Add icons to packages 2019-11-22 17:34:55 +01:00
James Doran e805a74ad7 Moved WithJavaScriptOptions extension method into Elsa.Scripting.JavaScript project (#179) 2019-11-22 08:37:06 +10:30
James Doran 9556b80016 Add script options configuration (#179) 2019-11-21 21:09:58 +10:30
Peter Davis e05192086e Scheduled MassTransit message delivery (#175)
Creating a sample workflow with scheduled message delivery

* Add MassTransit quartz job factory

* Add cancel schedule message activity

* Correlate MassTransit messages to workflow based on message properties

* Add cart expired and submitted workflow steps

* Add message schedule options configuration

* Code cleanup

* Update launch settings

* Cleanup send and publish activities

* Add scheduled time expression property
2019-11-21 08:14:01 +01:00
James Doran 6714308558 JavaScriptExpresionEvaluator now takes into account the target type when performing conversion (#185) 2019-11-19 08:42:28 +01:00
Peter Davis bbfbba53ce Fix issue with property expressions throwing invalid cast exceptions (#173)
Expression was returning the JValue of the property and was unable to convert to a string.
2019-11-18 08:07:33 +01:00
Peter Davis dad6c254f5 Add a function to allow creating GUID values from JS expressions (#172) 2019-11-18 08:04:48 +01:00
Peter Davis cdb2c655f6 Fix issue with last result not returning underlying variable value (#170) 2019-11-18 08:02:33 +01:00
Sipke Schoorstra b0a5962f4a Fix variable serialization issues 2019-11-17 22:48:17 +01:00
Sipke Schoorstra 21f770bc48
Refactorings and fixes (#168)
* Variables are now stored including their type name for automatic deserialization into their actual type. This is important for use in expressions.
* **SplitObject** and **ExecuteMethod** now use workflow expressions instead of variable names. This allows for more flexibility.
* Improved **Join** activity to allow proper function within looping constructs.
* Improved Variables performance. Variables are no longer serialized/deserialized upon writing/reading perspectively, only when the workflow instance is persisted.
2019-11-17 20:43:16 +01:00
Sipke Schoorstra d1f7ce47b7
EF Core Provider rewrite (#165)
* Fixed EF provider

Fixes #144 , #145
2019-11-16 14:06:53 +01:00
Sipke Schoorstra f9af5e71d6
Improve expression evaluation (#133)
* Add test case for object-to-string target type

* Add exception handling
2019-11-06 21:11:16 +01:00
Sipke Schoorstra 3fd0cb5270
Refactor Variable serialization to convert to JValue (#120)
This removes the confusion where a specific object will retain its type when serialized, which is not the case.
2019-11-03 14:33:34 +01:00
Sipke Schoorstra 57f116c239
Fix object disposed bug (#116)
* Refactor buggy SignalRequestHandler

For some reason, the following code is problematic:

await DecryptToken()
                .BindAsync(GetWorkflowInstanceAsync)
                .BindAsync(CheckIfExecutingAsync)
                .MapAsync(ResumeWorkflowAsync);

Basically, any lambda in the BindAsync and MapAsync could execute even after the containing method returned

* Implement better message handler registration without adding multiple IMediator services

* Abstracted Mediator service registration methods.
* Add Liquid support for JObject.
2019-10-31 21:31:18 +01:00
Sipke Schoorstra e162391c30 Update package descriptions and renamed some activities 2019-10-27 17:31:50 +01:00
Sipke Schoorstra bacb25a286 Update project details 2019-10-27 16:18:16 +01:00
Sipke Schoorstra aef8741d84
Add Liquid expressions (#111)
* Reorganize projects

* Implement Liquid expression evaluator

* Refactor activity references to use `Name`
2019-10-27 15:38:37 +01:00