Commit graph

562 commits

Author SHA1 Message Date
Sipke Schoorstra c8d87cd763
Simplify Proto.Actor bookmarks and triggers (#3917)
* Refactor HTTP route table population

* Update workflow definition EF store to use abstract IWorkflowInstanceStore

This decoupling is necessary, because the application might not be using EF Core, but e.g. Elasticsearch

* Move workflow state persistence to the default workflow runtime feature

* Update JS handler to provide access to variables during trigger indexing

* Configure Proto.Actor runtime with different workflow pipeline

* Add sample using Proto.Actor runtime

* Replace BookmarkGrain with DB based persistence
2023-04-17 15:23:05 +02:00
Sipke Schoorstra 998fafa75c
Take latest version of no version specified (#3914) 2023-04-17 11:25:12 +02:00
Sipke Schoorstra c3ed7e7865
Improve JSON serializationfor workflow state (#3913)
* Incremental work on WorkflowStateSerializer

* Update Flow HTTP Request activity to default to Done outcome

* Fix reference handling

* Fix polymorphic object converter

* Add comments

* Add support for registering type alias during DI setup via options

* Fix trigger and bookmark payload persistence

* Update sample model

* Add support for custom dictionary types

* Split general serializer options provider into focused serializer services

* Formatting

* Update migrations
2023-04-17 00:11:58 +02:00
GitHub Action ac7f1f554b Updated designer version to 3.0.3-preview.107 2023-04-14 15:40:36 +00:00
Gürkan Güran 20d9b79abe Fix unpublish button 2023-04-14 17:36:41 +02:00
GitHub Action 56d8ac539d Updated designer version to 3.0.3-preview.106 2023-04-14 14:24:58 +00:00
GitHub Action 8262cd2819 Updated designer version to 3.0.3-preview.105 2023-04-14 12:07:15 +00:00
Sipke Schoorstra ed1192d223 Remove unnecessary cleanup
This is already done in the activity execution context itself
2023-04-13 22:40:41 +02:00
Sipke Schoorstra 1a389afb81 Fix Hangfire provider job cancellation cleanup 2023-04-13 22:34:07 +02:00
Sipke Schoorstra 98e0b4ae5f Graceful handling of task cancellation 2023-04-13 20:35:55 +02:00
Sipke Schoorstra 5c3a016140 Merge remote-tracking branch 'origin/v3' into v3 2023-04-13 20:05:47 +02:00
Sipke Schoorstra 17406c1db3 Implement activity cancellation 2023-04-13 20:05:14 +02:00
Sipke Schoorstra b035255042 Add job runner in Mediator module 2023-04-13 19:59:57 +02:00
Gürkan Güran 3ce7fdb53c Fixed missing journal issue 2023-04-13 16:36:02 +02:00
Sipke Schoorstra d3d6b02d98
Cron activities (#3900)
* Add XML comments to Mediator module

* Add cron activity and services

* Implement activity descriptor modifiers and fix CRON cleanup
2023-04-12 21:10:07 +02:00
Sipke Schoorstra 83449f0508
Update Hangfire integration (#3898)
* Add Hangfire support for workflow scheduler

* Fix scheduled job cleanup

* Fix duplicate handler invocation

* Default scheduler fixes
2023-04-12 15:10:44 +02:00
Sipke Schoorstra 56b284c230
Quartz.NET integration (#3887)
* update Quartz.NET module

* Small cleanup

* Fix Timer activity
2023-04-11 20:17:15 +02:00
Victorio Berra 947859a37c
Update RunTask XML Comment (#3886)
Fixed typo.
2023-04-11 20:14:26 +02:00
Sipke Schoorstra d7c6d07c5a Update background activity invoker to only transport workflow-stored variables 2023-04-10 15:32:40 +02:00
Sipke Schoorstra 7a09944732
Refactor scheduling and background activity execution (#3884)
* Refactor background activity execution

* Refactor scheduler

* Remove Jobs module

* Add XML comments
2023-04-09 23:35:32 +02:00
Sipke Schoorstra c978b8f9b5 Fix FlowDecision serialization 2023-04-07 22:46:20 +02:00
Sipke Schoorstra 5331476081 Add support for implicit looping constructs
Fixes the issue where a workflow would not complete, even though all flow chart activities executed
2023-04-06 22:37:53 +02:00
Sipke Schoorstra 53cb1cc63c Minor changes 2023-04-06 22:36:27 +02:00
Sipke Schoorstra a20a671ec7 Merge remote-tracking branch 'origin/v3' into v3 2023-04-06 15:06:48 +02:00
Sipke Schoorstra 218860c998 Update custom converter with support for additional "primitive" types 2023-04-06 15:06:13 +02:00
Sipke Schoorstra e5967fe057 Update ActivityWorkItem to use correct name 2023-04-06 15:05:32 +02:00
Sipke Schoorstra fd2c9f7287 Prevent exception handling middleware from raising another exception
It's possible for multiple activities to raise an exception, in which case we should not try to transition into the Faulted state again.
2023-04-06 15:05:00 +02:00
Sipke Schoorstra af17de0df7 Fix duplicate completion for various Telnyx activities 2023-04-06 15:03:34 +02:00
Sipke Schoorstra 0e76123268 Fix duplicate completion event for Delay activity 2023-04-06 15:03:08 +02:00
Sipke Schoorstra cea4c8fa0a Add support for resuming workflows using activity instance ID and hash 2023-04-06 14:59:30 +02:00
MariusVuscanNx 45f27f91f5
Import publish execute integration test (#3872)
* Import publish execute integration test

* Update test

* Extracted import logic into WorkflowDefinitionImporter

* Removed the WorkflowDefinitionRequest model and done a model rename

---------

Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2023-04-05 19:07:04 +02:00
Sipke Schoorstra 3045725790 Prevent composite root activities from being returned after POST and PUBLISH 2023-04-03 19:48:37 +02:00
herblinernexxbizz dd919a4000
adding set var and main/sub workflow tests (#3855)
* Adding set var and main/sub workflow tests

* Deprecate SetWorkflowOutput and replace with SetOutput

---------

Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2023-04-03 14:14:39 +02:00
GitHub Action 8390efc332 Updated designer version to 3.0.3-preview.91 2023-04-03 10:15:06 +00:00
GitHub Action 57f9f2ea31 Updated designer version to 3.0.3-preview.88 2023-04-03 08:52:44 +00:00
GitHub Action b2377f2b6b Updated designer version to 3.0.3-preview.86 2023-04-02 17:43:18 +00:00
Sipke Schoorstra beb3ce6e83 Merge remote-tracking branch 'origin/v3' into v3 2023-04-02 19:39:31 +02:00
Sipke Schoorstra 94ffdc797e Update Monaco editor package version 2023-04-02 19:39:19 +02:00
Sipke Schoorstra a11a7c0a12 Cleanup 2023-04-02 19:19:12 +02:00
GitHub Action 6bc5f53784 Updated designer version to 3.0.3-preview.85 2023-04-01 14:19:45 +00:00
Sipke Schoorstra 3ec9df87c1 Initial work on Elsa Client 2023-04-01 16:15:35 +02:00
GitHub Action 4a8ec72598 Updated designer version to 3.0.3-preview.84 2023-04-01 13:47:23 +00:00
Sipke Schoorstra ab53ba4d8b Update All In One dockerfile to build client assets 2023-04-01 10:50:52 +02:00
GitHub Action cdc3001c97 Updated designer version to 3.0.3-preview.79 2023-03-31 20:29:18 +00:00
Sipke Schoorstra 7d1833f285 Remove auto build of npm package 2023-03-31 17:26:17 +02:00
gurkanguran b0e5061dce
Handle multiple output connections on import (#3857)
* Add XML comments, cleanup

* Incremental work on persisting "lost" connections

* Fixed issues with connections on import

---------

Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
Co-authored-by: Gürkan Güran <gurkanguran@gurkanguransMBP.domain_not_set.invalid>
2023-03-30 10:19:05 +02:00
GitHub Action 6a79bb9e64 Updated designer version to 3.0.3-preview.77 2023-03-30 07:56:53 +00:00
GitHub Action f1b373b14d Updated designer version to 3.0.3-preview.76 2023-03-29 14:57:21 +00:00
GitHub Action 67d1fbfb47 Updated designer version to 3.0.3-preview.74 2023-03-28 23:21:10 +00:00
GitHub Action 0a3eed00c7 Update Elsa Workflows Designer dependency to version 2023-03-28 23:11:06 +00:00