Commit graph

113 commits

Author SHA1 Message Date
Sipke Schoorstra f98d31842e Fix workflow builder extensions return type 2021-01-09 12:02:28 +01:00
Sipke Schoorstra 199ea6abaf
Fix memory stores + Join activity (#561)
* Fix in-memory storage
* Fix broken Join activity
* Fixes #528
2021-01-08 15:02:41 +01:00
Sipke Schoorstra 9e63d9ad69
Distributed workflow execution support (#559)
* Incremental work on workflow message queuing

* Add extension to register message consumers

* Update Rebus logging to use Microsoft Extensions Logging

* Synchronize quartz job and run instance consumer with distributed locking

* Add service bus options
2021-01-08 11:14:00 +01:00
Sipke Schoorstra 9b76904099 Optimize activity data storage 2021-01-05 12:17:00 +01:00
Sipke Schoorstra 020e74e7bc Use shared Iterate outcome const 2021-01-03 19:22:17 +01:00
Sipke Schoorstra 9c1515bdb6 Rename Outcome property on Finish activity 2021-01-03 12:21:39 +01:00
Sipke Schoorstra 67be790c7d Fix access to container properties and improve object type conversion 2021-01-03 11:06:11 +01:00
Sipke Schoorstra f14c22d5d4 Improve interaction between Finish and composite activities
This update enabled activities within composite activity containers to control the outcome of the container
2021-01-02 15:39:38 +01:00
Sipke Schoorstra 7c2e9f9342 Unschedule triggers when blocking timers are removed 2021-01-02 13:51:53 +01:00
Sipke Schoorstra 34983144c3 Optimize synchronized workflow instance execution in parallel 2021-01-02 12:57:27 +01:00
Sipke Schoorstra 717ced918f Update Finish activity to only clear blocking activities of current container unless it's the root workflow, in which case ALL blocking activities are removed 2021-01-02 11:22:42 +01:00
Sipke Schoorstra dcbf14c144 Fix and simplify composite activity + while/for/foreach handling 2021-01-01 17:58:08 +01:00
Sipke Schoorstra 10fe049c10 Experimental bug fixes regarding timer & container scheduling 2020-12-31 17:24:55 +01:00
Sipke Schoorstra 8ad256b6b7 Add support for Transient Variables 2020-12-30 16:53:05 +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
Sipke Schoorstra fa13aadd37 Serialization improvements and cleanup 2020-12-26 14:37:05 +01:00
Sipke Schoorstra 28ac92b6ff
Introduce Workflow Instance Name (#538)
* Add Name property to Workflow Instance models and update Dashboard UI

* Add SetName activity

* Add naming workflow sample

* Add modal html

* Implement search by workflow instance name
2020-12-24 14:30:55 +01:00
Sipke Schoorstra 03c9f94671
Improve specifications and YesSQL implementation (#529)
* Update Fluid.Core package

* Make specifications flexible

* Update build environment

* Disable global.json
2020-12-20 12:12:32 +01:00
Sipke Schoorstra 61c7df61fe Fix NRE in Join activity 2020-12-19 14:56:44 +01:00
Sipke Schoorstra d41039b567 Rename extensions namespace 2020-12-18 11:35:29 +01:00
Sipke Schoorstra b08eba93d5 Fix SignalReceived activity 2020-12-14 21:51:24 +01:00
Sipke Schoorstra d6cc7d7f56
Implement Specification pattern (#517)
* Add specifications

* Update persistence providers with specification pattern
2020-12-14 17:15:39 +01:00
Sipke Schoorstra e601747fae Renames and small tweaks 2020-12-11 21:35:22 +01:00
Sipke Schoorstra 70e7b98d7b Rename Repository to Store 2020-12-11 21:14:57 +01:00
Rafael Carnucci 3b35d9ff0a
Seperate YesSql (#504)
* Seperate YesSql and added InMemory, MongoDb

* Error fixed, if DatabaseInitializer is run through several times

* icon.png was not packed

* Added AddWorkflowProvider to AddElsaPersistenceMongoDb

* Wrong primary keys were used for MongoDb

* Refactorig MongoDb

* Register IMongoCollection<WorkflowDefinition> and IMongoCollection<WorkflowInstance> with DI

* Wrong Parameter Type in Constructor (MongoDbWorkflowInstanceRepository)

* Add workflowDefinition.WorkflowDefinitionId = _idGenerator.Generate(); to Initialize

* Removed duplicated code

* Correct wrong Commit

Co-authored-by: Rafael Carnucci <rafael.carnucci@icn.de>
Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2020-12-11 21:03:49 +01:00
Sipke Schoorstra 3868b04b65 Restructure signal activity folders 2020-12-06 13:23:00 +01:00
Sipke Schoorstra a21ba060d5 Add InterruptTrigger activity 2020-12-06 13:22:24 +01:00
Sipke Schoorstra be1ccea956 Add IfElse convenience extensions 2020-12-06 13:21:19 +01:00
Sipke Schoorstra a3eb17b0ac Always refresh workflow context when context ID has changed using SetContextId activity 2020-12-03 20:01:23 +01:00
Sipke Schoorstra 17eea86c70 Remove warnings 2020-12-02 22:31:26 +01:00
Sipke Schoorstra bf1d54d1e6 Remove noisy CancellationToken parameters
The CancellationToken is now available as part of the ActivityExecutionContext
2020-12-02 22:28:36 +01:00
Sipke Schoorstra dadee53d2d Add support for composite activities to return outcomes 2020-12-02 22:20:13 +01:00
Sipke Schoorstra 0facd8f93f
Introduce activity type providers (#480)
* Add activity type provider API

* Rename ReceiveHttpRequest to HttpRequestReceived
2020-11-30 15:21:36 +01:00
Sipke Schoorstra 5bab43b8d2
Add support for attribute-based workflow selection & execution (#478) 2020-11-28 05:11:14 +01:00
Sipke Schoorstra 41ca351d29
Refactor Timers activities using Quartz & initial Multitenancy support (#477)
* Refactor time based events using Quartz.net

* Simplify Quartz job & trigger registration & Cleanup

* Expose Quartz configuration

* Restructure samples
2020-11-27 21:47:51 +01:00
Sipke Schoorstra 4b85142bd1 Add SetContextId activity 2020-11-24 20:25:37 +01:00
Sipke Schoorstra a63e1711fa Rename method with Async suffix 2020-11-17 21:26:15 +01:00
Sipke Schoorstra acf884c075 Incremental work on connecting activities 2020-11-16 21:19:43 +01:00
Sipke Schoorstra da2a395d49 Add support for (non-)browsable activities 2020-11-14 22:07:34 +01:00
Sipke Schoorstra 6bddf50d77 Implement activity picker filtering 2020-11-14 21:58:48 +01:00
Sipke Schoorstra 3a9eaeb799 fix Signal activities, triggers and add sample 2020-11-03 16:58:00 +01:00
Sipke Schoorstra 70d3569343 Add GoBackResult + sample 2020-11-03 12:14:25 +01:00
Sipke Schoorstra 884f54782d Use Sqlite as default db provider 2020-11-03 09:46:38 +01:00
Sipke Schoorstra 38470c0176 WIP: Declarative composite activities 2020-11-02 21:04:41 +01:00
Sipke Schoorstra 8c5cac1c51 Fix WorkflowBuilder and CompositeActivityBuilder 2020-11-02 18:58:55 +01:00
Sipke Schoorstra 8ffc3dd30d Implement workflow context loading/saving level of fidelity 2020-11-01 14:24:02 +01:00
Sipke Schoorstra fea2ffd6ea Implement RunWorkflow activity 2020-11-01 13:08:58 +01:00
Sipke Schoorstra 31ca0780e2 Stash RunWorkflow activity 2020-11-01 11:31:53 +01:00
Sipke Schoorstra ce6509baff Complete workflow context sample and fix NodaTime serialization 2020-10-31 22:19:58 +01:00
Sipke Schoorstra ef660ab541 Add workflow context + sample 2020-10-31 21:10:58 +01:00