Commit graph

568 commits

Author SHA1 Message Date
Sipke Schoorstra aabf9ff2c2 Configure primitive activities 2021-04-04 15:37:28 +02:00
Sipke Schoorstra e2118a1135 Update expression evaluators to get merged variables 2021-04-04 15:37:28 +02:00
Sipke Schoorstra cebb57caaa Configure control flow activities 2021-04-04 15:37:28 +02:00
Sipke Schoorstra 299b871c50 Formatting 2021-04-04 15:37:28 +02:00
Sipke Schoorstra 35248ef43f Require explicit syntax for getting expression 2021-04-04 15:37:28 +02:00
Sipke Schoorstra 4611ef2e08 Add convenience SyntaxNames class with commonly used syntax names 2021-04-04 15:37:28 +02:00
Sipke Schoorstra 09892074bb Add Default Syntax and Supported Syntax activity property attributes 2021-04-04 15:37:28 +02:00
Sipke Schoorstra 6996d41376 Incremental work on property editor modes 2021-04-04 15:37:28 +02:00
Sipke Schoorstra 7f38b01db5 Fix TriggersWorkflows to ignore null/empty correlation IDs 2021-04-02 16:55:46 +02:00
Sipke Schoorstra 7e6c8774e8 Add SetVariableExtensions 2021-04-02 16:55:18 +02:00
Sipke Schoorstra 9bcc32d15a Code formatting 2021-04-02 16:55:04 +02:00
Sipke Schoorstra 461e38bb32 Fix Fork activity 2021-04-02 16:54:26 +02:00
Sipke Schoorstra 0acc836f4b Fix signaling 2021-04-02 16:53:46 +02:00
Sipke Schoorstra 53877b68fc Extract workflow dispatch logic into reusable mediator command handlers 2021-04-02 12:43:14 +02:00
Sipke Schoorstra ac61b7fc70 Add Hangfire dispatcher implementation 2021-04-02 12:43:14 +02:00
Sipke Schoorstra 3fc3f792f2 Signaling refactorings 2021-04-02 12:43:14 +02:00
Sipke Schoorstra dd658a8744 Adding missing service registration 2021-04-02 12:43:14 +02:00
Sipke Schoorstra 912d98e7bd Adding missing service registrations 2021-04-02 12:43:14 +02:00
Sipke Schoorstra 38be994e31 Break up WorkflowRunner into smaller types and extracted reusable trigger logic 2021-04-02 12:43:14 +02:00
Sipke Schoorstra 0d3e19dcd3 WIP: Orleans grains 2021-04-02 12:43:14 +02:00
Sipke Schoorstra 4cf43882dc Update packages 2021-04-02 12:43:14 +02:00
Sipke Schoorstra fbb574213a Fix SetVariable extensions 2021-04-02 12:43:14 +02:00
Sipke Schoorstra c019599fae Add extensions to register dispatchers 2021-04-02 12:43:14 +02:00
Sipke Schoorstra f91caf14bc Update Azure Service Bus workers to use new dispatcher APIs 2021-04-02 12:43:14 +02:00
Sipke Schoorstra bd87f5b2df Incremental work on default dispatchers in preparation for actor model implementation 2021-04-02 12:43:14 +02:00
Sipke Schoorstra edd9de5156 Add automatic variable assignment of Call Control ID 2021-03-29 13:06:37 +02:00
Sipke Schoorstra 64e2b74092 Comment out pruning call (fixes Finish activity returning output to parent) 2021-03-29 13:06:37 +02:00
Sipke Schoorstra 7423e82bbd Fix order of execution results in CompositeActivity 2021-03-29 13:06:37 +02:00
tomy2105 6773a73a81 Method to skip adding core activites automatically. 2021-03-29 12:05:56 +02:00
Craig Fowler d9000b22b3 Fix build failure: ForEachWorkflowTests
It seems that some work done in these commits, for the
file ForEachBuilderExtensions was responsible:
* 4807ace13c
* dfbba1e176

A couple of the extension methods were missing out a ToList()
which later caused an ArgumentException when setting a property
value via reflection.

I also added an extra exception for the set-value logic.  This way,
if/when there is a problem, the exception will indicate which property
it was trying to set at the time.
2021-03-28 12:39:32 +01:00
Sipke Schoorstra dfbba1e176 Fix casting issue with ForEach and ParallelForEach builder extensions 2021-03-26 11:40:22 +01:00
Sipke Schoorstra 2a22a328c4 Add type parsing support with object target type 2021-03-26 11:40:22 +01:00
Sipke Schoorstra 890789c9cd Incremental work on call ring group activity 2021-03-26 11:40:22 +01:00
Sipke Schoorstra 4807ace13c Implement ring group transfer for prioritized hunt strategy 2021-03-26 11:40:22 +01:00
Sipke Schoorstra 58f79cef11 Add support for nullable enum properties 2021-03-26 11:40:22 +01:00
Sipke Schoorstra 8ace98740a Use dropdown UI hint by default for enum property types 2021-03-26 11:40:22 +01:00
Sipke Schoorstra d6d44ff57b Improve ParallelForEach extensions 2021-03-26 11:40:22 +01:00
Sipke Schoorstra 61b57de61c Turn Fork into self-cleaning scoped activity 2021-03-26 11:40:22 +01:00
Sipke Schoorstra 6fef9874da **BREAKING API** Update Builder API to allow to connect to named activities as well as activities by type name
This replaces the `Then(string activityName)` method with `ThenNamed(string activityName)`.
A new method is added to allow connecting to activities by type name: `ThenTypeNamed(string activityTypeName)`.

The reason for this change and addition is to allow workflow builders to connect to activity types that do not have a corresponding type.
For example, the Telnyx project has an activity type provider that *dynamically* provides activity types based on Telnyx webhook callback types.
2021-03-26 11:40:22 +01:00
Sipke Schoorstra 5d8d05aec5 Stash 2021-03-26 11:40:22 +01:00
Sipke Schoorstra 3ab0c94f94 Hide a couple of warnings 2021-03-23 14:52:11 +01:00
Sipke Schoorstra fe915fc6fd Fix Break activity 2021-03-23 14:05:56 +01:00
Sipke Schoorstra 66dabb8ce9 Add SetVariable overload with updater callback 2021-03-22 22:05:13 +01:00
Sipke Schoorstra 185c2dde44 SetVariable extension improvements 2021-03-22 22:04:49 +01:00
Sipke Schoorstra 48ff06d26e Add workflow context class type constraint 2021-03-22 21:24:30 +01:00
Sipke Schoorstra 3b185d31e9 New fix for Switch activity 2021-03-22 21:23:58 +01:00
Sipke Schoorstra f10d33b77e Fix Switch activity
The Switch activity did not reset its state in full, causing it to not re-evaluate its branches when looping back onto it
2021-03-22 08:40:16 +01:00
Craig Fowler ee7a8cdb1b
Merge pull request #775 from craigfowler/feature/738-Composite-Activities-may-be-triggers
Refactor for comprehension & add test coverage
2021-03-20 11:29:28 +00:00
Craig Fowler 2539f6425a WIP #738 - Integration tests for Trigger Indexer
One of these tests is failing and this is the one which
demonstrates issue #738. The composite activity which begins
with ReceiveSignal doesn't generate a trigger.
2021-03-20 10:42:41 +00:00
Konstantin Mikhailyuk caf15ecc70
WIP #667 - Webhook activity project (#718)
* Webhook activity project

* Webhook definition with InMemoryStore

* Add Webhook activity provider

* Prevent part assembly generation. See https://github.com/dotnet/aspnetcore/issues/24171

Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2021-03-19 21:15:50 +01:00