Commit graph

340 commits

Author SHA1 Message Date
Sipke Schoorstra e39d5cdb68 Ensure workflow instance locking when receiving Azure Service Bus messages 2021-01-21 12:11:25 +01:00
Sipke Schoorstra 2a64cc1473 Add continue running workflow startup task 2021-01-19 20:17:14 +01:00
Sipke Schoorstra f57b834d36 Fix Azure Service Bus queue worker
This fixes an issue with message / workflow correlation.
2021-01-18 19:52:02 +01:00
Sipke Schoorstra 254ec93263
Fix issues with workflow builder API and Join cleanup of scopes (#577)
* Fixed unique key violation

* Fix builder, descoping from join (loops + ifelse)

* Cleanup Join
2021-01-17 11:55:00 +01:00
Sipke Schoorstra 84b5d64719 Add workflow instance to logging scope during workflow execution 2021-01-15 14:45:34 +01:00
Sipke Schoorstra 218bd5a851 Store short file name without path 2021-01-14 23:30:30 +01:00
Sipke Schoorstra fe6aa7d9ff Fix OutcomeBuilder bug 2021-01-14 23:28:08 +01:00
Sipke Schoorstra d468b132b7 Update CompositeActivityBuilderExtensions 2021-01-14 22:19:43 +01:00
Sipke Schoorstra 89dfba8269
Add source file + line number to execution log. (#571)
* Add source and activity type to WorkflowExecutionLogRecord

* Update builder extensions
2021-01-14 21:45:28 +01:00
Sipke Schoorstra 974b3c2df2
Elsa 2.0/faults (#570)
* Update fault API and add stack trace.
2021-01-14 17:15:02 +01:00
Sipke Schoorstra 6b380e86f4 Add support for prefixing queue names 2021-01-14 14:56:09 +01:00
Sipke Schoorstra 02a3df468c Add IfTrue overload 2021-01-13 19:57:49 +01:00
Sipke Schoorstra be53a9f68b Add columns to Workflow Instances list UI 2021-01-13 15:39:32 +01:00
Sipke Schoorstra 2c9ad5e671 Fix if/else activity issue
Fixes an issue where if/else activities whose condition is based on INPUT from the previous activity would fail.
2021-01-13 13:26:56 +01:00
Sipke Schoorstra 31e9b76a63 Fix composite activity issue
Fixes an issue where composite activities accepting custom properties whose value is retrieved from INPUT from the previous activity would fail.
2021-01-13 13:07:34 +01:00
Sipke Schoorstra e2c8cfe795 Improve IfElse scope 2021-01-12 13:42:48 +01:00
Sipke Schoorstra 8613133add Refactor back-paddling of branching activities 2021-01-12 13:22:40 +01:00
Sipke Schoorstra fcfe7f08b4 Change For/While/ForEach/IfElse behavior
Before this change, the aforementioned activities would always schedule the Done outcome.
After this change, the Done outcome is scheduled **after** the Iterate branch and True or False branches have completed
2021-01-12 09:28:48 +01:00
Sipke Schoorstra 997fb53b08 Fix WorkfowSelector by retaining existing triggers when updating triggers for a single workflow instance 2021-01-10 17:10:04 +01:00
Sipke Schoorstra e0cf95c556 Use command sender instead of publisher 2021-01-10 17:09:21 +01:00
Sipke Schoorstra 2d211f875b Use command sender instead of publisher 2021-01-10 17:09:14 +01:00
Sipke Schoorstra 49d4e5bb36 Optimize workflow trigger re-indexing 2021-01-10 13:43:34 +01:00
Sipke Schoorstra f98d31842e Fix workflow builder extensions return type 2021-01-09 12:02:28 +01:00
Sipke Schoorstra e3e0257455 Make activity output persistence opt-in 2021-01-08 17:59:43 +01:00
Sipke Schoorstra 3cfc2ad665 Remove unused namespaces 2021-01-08 17:40:32 +01:00
Rafael Carnucci 19ccb24bab
Indexing (#554)
* Add indexing + Elasticsearch provider

Co-authored-by: Rafael Carnucci <rafael.carnucci@icn.de>
Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2021-01-08 15:11:52 +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 8ece1dc9ff Fix premature disposal of workflow execution scope 2021-01-03 19:23:59 +01:00
Sipke Schoorstra c8ec51b332 Fix logging statement 2021-01-03 19:23:35 +01:00
Sipke Schoorstra 1401ba72d2 Prevent duplicate activity ids when using custom ids in composite activities 2021-01-03 19:22:45 +01:00
Sipke Schoorstra 020e74e7bc Use shared Iterate outcome const 2021-01-03 19:22:17 +01:00
Sipke Schoorstra 4ce94ee01a Implement BackgroundWorker thread synchronization 2021-01-03 19:18:50 +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 c645e77e14 Extract re-scheduling logic to event handler 2021-01-02 11:05:01 +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 a0c9f16aae Add generic BackgroundWorker for running tasks asynchronously in the background 2020-12-30 12:00:53 +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 460c75227d Implement delete workflow definition 2020-12-28 17:34:44 +01:00
Sipke Schoorstra c6d68875c1 Implement workflow settings 2020-12-27 21:02:14 +01:00
Sipke Schoorstra d04cd93536 Add support for overriding display name and description 2020-12-26 21:55:02 +01:00
Sipke Schoorstra 8dc86a6fa2 Fix broken workflow runner 2020-12-26 15:46:50 +01:00