Commit graph

70 commits

Author SHA1 Message Date
Sipke Schoorstra 4807ace13c Implement ring group transfer for prioritized hunt strategy 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
Craig Fowler 9ec698c7bc WIP #738 - Refactor a troublesome extension method
This extension method is quite complex and is frustrating
when a unit test passes-through it.  That's because extension
methods can't be mocked in tests.
2021-03-18 21:09:04 +00:00
Craig Fowler 5c927501d0 PR rework #728 - Default persistence behavior
This reworks the way that the default behavior is selected, in line
with comments.  The changes to the enum are reverted, and the
three places which create a workflow definition are now altered to
explicitly choose WorkflowBurst

This includes a change to the TS enum definition - update to match
its C# counterpart.
2021-03-10 20:08:53 +00:00
Sipke Schoorstra 62352e27ac Remove IsEnabled flag 2021-03-08 15:14:02 +01:00
Sipke Schoorstra 59189bd330
Revise trigger API (#593)
* Update triggers

* Fix service registrations

* Add support for startup task ordering

* Add missing Rebus Activities project

* Handle indexing of many workflow instances

* Update sample

* Separate bookmarks from start triggers

* Add trigger API

* Fix queue worker

* Delete sqlite temp files
2021-01-29 16:16:45 +01:00
Sipke Schoorstra 1316188d82 Add missing line number and source file arguments for inline activities 2021-01-21 12:11:54 +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 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 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 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 1401ba72d2 Prevent duplicate activity ids when using custom ids in composite activities 2021-01-03 19:22:45 +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 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 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 d04cd93536 Add support for overriding display name and description 2020-12-26 21:55:02 +01:00
Sipke Schoorstra fa13aadd37 Serialization improvements and cleanup 2020-12-26 14:37:05 +01:00
Sipke Schoorstra d41039b567 Rename extensions namespace 2020-12-18 11:35:29 +01:00
Sipke Schoorstra c9199bb335 Incremental work on dashboard + API 2020-12-10 22:08:53 +01:00
Sipke Schoorstra 4c9fa9350b Incremental work on dashboard 2020-12-07 22:04:17 +01:00
Sipke Schoorstra c0084e9fef Fix bug in Inline activity method to propogate activity result to caller 2020-12-06 13:23:47 +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 055482b935 Update WorkflowBuilderExtensions 2020-12-02 20:28:48 +01:00
Sipke Schoorstra 0e1262051a Update WorkflowBuilderExtensions 2020-12-02 20:23: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 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 956f8ed1fa Fix build 2020-11-18 19:59:00 +01:00
Sipke Schoorstra 59f1ada1aa Rename activity builder properties 2020-11-03 22:05:45 +01:00
Sipke Schoorstra 1bb2953efa Add refresh/persist workflow context options to activity 2020-11-03 22:03:08 +01:00
Sipke Schoorstra 3a9eaeb799 fix Signal activities, triggers and add sample 2020-11-03 16:58:00 +01:00
Sipke Schoorstra 884f54782d Use Sqlite as default db provider 2020-11-03 09:46:38 +01:00
Sipke Schoorstra 63f20a9706 Finish WorkflowBlueprintMaterializer with support for composite activity definitions 2020-11-02 21:39:17 +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 90c8577864 WIP: extract composite activity builder from workflow builder 2020-11-01 22:26:19 +01:00
Sipke Schoorstra 594853d45c Add Composite Activity support 2020-11-01 20:03:21 +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 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
Sipke Schoorstra 6577b0cd38 Improve trigger API and implement HTTP correlation 2020-10-30 21:55:27 +01:00