Commit graph

80 commits

Author SHA1 Message Date
Cameron Cowen c01ec242ed Merge remote-tracking branch 'upstream/master' into elsa-2.0/fileactivities 2021-05-30 14:05:12 +01:00
Sipke Schoorstra 58af0c7ca0 Rename ActivityPropertyAttribute to ActivityInputAttribute 2021-05-30 12:51:58 +02:00
Cameron Cowen e592c30b7c Updated sample workflows and added second to demonstrate how it doesn't meet publishing 2021-05-28 22:14:44 +01:00
Cameron Cowen f498184eca Added writeline to workflow 2021-05-27 08:08:47 +01:00
Cameron Cowen 89af4ef948 Updated to make use of servicecollection extensions 2021-05-27 00:01:43 +01:00
Cameron Cowen 36ab91c62f Initial filewatcherworkflow 2021-05-26 23:43:29 +01:00
Cameron Cowen 288d56eae2 Merge remote-tracking branch 'upstream/master' into elsa-2.0/fileactivities 2021-05-25 18:51:08 +01:00
Sipke Schoorstra 0b10faad92 Add DataProtection default service and update broken samples 2021-05-25 12:12:36 +02:00
Sipke Schoorstra bb4ff3b714 Update packages 2021-05-25 09:57:17 +02:00
Cameron Cowen bb2019e783 Updated projects to .net 5 2021-05-24 00:25:14 +01:00
Cameron Cowen 8d0964845f Merge remote-tracking branch 'upstream/master' into elsa-2.0/fileactivities 2021-05-21 10:04:58 +01:00
Sipke Schoorstra 899551463e Refactor workflow collection and execution 2021-05-16 21:05:34 +02:00
Sipke Schoorstra 09f11c026e Signaling fixes and enhancements 2021-05-11 22:12:21 +02:00
Sipke Schoorstra 445ca96c57 Update Signaling Console sample project 2021-05-11 14:32:26 +02:00
Sipke Schoorstra 04aff2c1c9 Disable sample project from being packaged 2021-05-09 10:19:14 +02:00
Cameron Cowen bb535fed93 Added initial filewatcher sample 2021-05-08 22:44:29 +01:00
Sipke Schoorstra 0e9f139505 Add sample with custom activity and outcomes 2021-05-07 10:33:46 +02:00
Sipke Schoorstra 0640e17739 Simplify Hello World sample 2021-05-04 12:04:54 +02:00
Cameron Cowen 5975e1f788 Updated sample with tempfile and deletefile activities 2021-05-03 15:55:42 +01:00
Cameron Cowen 7c034394dd Updated temp path 2021-05-03 00:06:29 +01:00
Cameron Cowen d2d82075bf Fixed dependency 2021-04-28 21:58:04 +01:00
Cameron Cowen 4c85768882 Moved file projects into new structure 2021-04-25 00:00:25 +01:00
Sipke Schoorstra 489750432a Remove Email and UserTask projects from Elsa project 2021-04-21 14:46:17 +02:00
Sipke Schoorstra ce957b95e7 Cleanup 2021-04-07 13:13:13 +02:00
Sipke Schoorstra 0acc836f4b Fix signaling 2021-04-02 16:53:46 +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 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 62352e27ac Remove IsEnabled flag 2021-03-08 15:14:02 +01:00
Sipke Schoorstra 3814ea6ff4
Update OutcomeResult to try a default connection via implicit "Done" outcome (#655)
* Update OutcomeResult to try a default connection via implicit "Done" outcome

* Add demo project for auto-connected activities
2021-02-24 14:29:56 +01:00
Sipke Schoorstra 7aa299553b Formatting 2021-02-21 11:00:35 +01:00
Sipke Schoorstra 05c15a2eaf Autogenerate switch case labels 2021-02-20 21:21:18 +01:00
Sipke Schoorstra f048e6d3ef
Refactor Switch builder API (#649)
* Refactor Switch builder API

* Remove unused namespaces
2021-02-20 20:47:56 +01:00
Sipke Schoorstra 0bf3fecf18 Rename IfElse to If 2021-02-20 15:56:32 +01:00
Sipke Schoorstra a29905bae2
Introduce AmbientActivityExecutionContext to support direct access to composite activity input properties from child activities (#648) 2021-02-20 15:23:39 +01:00
Sipke Schoorstra 15f1411838
Add support for scoped variables (#647) 2021-02-20 12:45:16 +01:00
Sipke Schoorstra a8fe51d15e Update samples 2021-02-17 21:47:28 +01:00
Sipke Schoorstra 7e33f7d23a Update samples 2021-02-17 21:43:56 +01:00
Sipke Schoorstra 86980a752e
Designer web component (#636)
* Activity picker dialog

* Activity picker

* Activity editor

* Activity property fields

* Blazor bindings for Elsa designer

* Only index triggers from published & enabled workflow definitions

* Handle case of null workflow blueprint not found

* Add check for zero duration and general scheduler exceptions

* Don't rethrow expression evaluation failure

* Workflow definition settings editor modal

* Integration between stencil and blazor 🎉

* Fix expression type conversion

* Add publish button and restructure components

* Fix up workflow definition ID vs workflow definition version ID

* Update EF Core migrations

* Fix Workflow Publisher

* Fix version display

* Add Import menu item
2021-02-16 09:55:13 +01:00
Sipke Schoorstra a02147d2ee Fix Finish + CompositeActivity 2021-02-13 11:16:20 +01:00
Sipke Schoorstra b18dff82cd Add ForEach sample project 2021-02-11 11:02:08 +01:00
Sipke Schoorstra 040e132725 Cleanup 2021-02-11 10:45:34 +01:00
Sipke Schoorstra 565e54febd Formatting 2021-02-11 10:43:20 +01:00
TfcYe cec4f09d02
troubleshoot usertask demo (#604)
Co-authored-by: yeminhua <yeminhua@bianfeng.com>
2021-02-11 10:35:00 +01:00
Sipke Schoorstra 7cfe24ba94
Implement revival of faulted workflow (#595)
* Initial version of workflow reviver

* Fix DI things

* Rename workflow builder parameter to `builder`

* Update EF Core stores to use short-lived db contexts

* Update serializer to use new settings to reset ID seed

* Write fault details

* Add faulty workflows sample project

* Switch to free & open source Z.EntityFramework.Plus.EFCore

* Add content type header

* Fix call to virtual OnSaving/OnLoading

* Fix retry
2021-01-30 12:47:50 +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 e2c8cfe795 Improve IfElse scope 2021-01-12 13:42:48 +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 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