Commit graph

3798 commits

Author SHA1 Message Date
Sipke Schoorstra a98ce86c09 Add extension method to run workflows until end 2023-04-22 00:03:24 +02:00
Sipke Schoorstra bf41758323 Cleanup workflow runner 2023-04-22 00:03:04 +02:00
Sipke Schoorstra 80ee38a727 Add missed updates 2023-04-22 00:02:51 +02:00
Sipke Schoorstra 42b286701d Update Elsa.sln and gitignore 2023-04-22 00:02:18 +02:00
Sipke Schoorstra 9a0e609800 Add various sample projects 2023-04-22 00:02:02 +02:00
Sipke Schoorstra 285feea5b1 Update tests 2023-04-22 00:01:37 +02:00
Sipke Schoorstra 9bdd9e9fb8 Refactor RunWorkflowOptions to be a mutable class
More convenient to initialize since not all fields have to be set.
2023-04-22 00:01:06 +02:00
Sipke Schoorstra adb04b925c Add IActivityWithResult contract 2023-04-22 00:00:14 +02:00
Sipke Schoorstra 1fd6b55c01 Rename variables in If activity 2023-04-21 23:59:59 +02:00
Sipke Schoorstra 81c85fbdbf Update Execute endpoint to return workflow state 2023-04-21 23:59:39 +02:00
Sipke Schoorstra 4b77751214 Update CodeActivity 2023-04-21 23:59:17 +02:00
Sipke Schoorstra e21a6206bb Add Sequence constructor to accept activities array 2023-04-21 23:59:02 +02:00
Sipke Schoorstra 973a127a48 Update SetOutput to set output in workflow execution context 2023-04-21 23:58:28 +02:00
Sipke Schoorstra 5214c361c4 Remove Delay strategy settings 2023-04-21 23:58:05 +02:00
Sipke Schoorstra 81b893c32b
Fix timer issues (#3938)
* Fix Timer activities getting stuck at creating bookmark when triggered

* Recreate timer schedules based on triggers when application starts
2023-04-21 12:12:28 +02:00
Sipke Schoorstra 53dcd11f17
Send HTTP error when workflow faults (#3937)
* Implement workflow fault handling in HTTP context

* Handle faulted workflows across process boundariesl
2023-04-20 20:45:27 +02:00
Sipke Schoorstra b53ef86128 Update serializer to support Newtonsoft JObject "islands" 2023-04-20 15:11:45 +02:00
Jérémie DEVILLARD 8d90db5769 Fix use Workflow Identity Version in WorflowGrain
Change : implement Cluster Member Shutdown on WorkflowServerHost
2023-04-20 11:03:20 +02:00
GitHub Action 4d2d67fde9 Updated designer version to 3.0.3-preview.118 2023-04-20 08:05:52 +00:00
Gürkan Güran 0edae254c1 Removed redundant code in designer 2023-04-20 10:01:54 +02:00
Gürkan Güran 6cbad8b5d7 Completed missing bulk actions functionalities 2023-04-20 09:59:09 +02:00
GitHub Action 169443bd0d Updated designer version to 3.0.3-preview.116 2023-04-19 19:32:38 +00:00
Sipke Schoorstra 10c721786a
Workflow Context Updates (#3933)
* Incremental work on context activity

* Add extensions to get and set context params

* Update polymorphic converter to handle objects serialized to primitives

* Add convenience factory methods for SetWorkflowContextParameter activity

* Add API endpoint to list available provider types

* Implement workflow context provider selection property panel

* Update context provider picker to be based on selected providers

* Make SendEmail support different types of input for To, Cc and Bcc fields

* Fix EF Core WorkflowDefinitionStore to use polymorphic serialization for metadata

* Add JS support for getting workflow contexts

* Add Installed Features endpoint

* Update polymorphic object converter to skip start array

* Update activity execution middleware to handle background execution

* Fix sample program to include activity middleware for contexts

* Comments and cleanup
2023-04-19 21:28:58 +02:00
GitHub Action 045106194c Updated designer version to 3.0.3-preview.115 2023-04-19 08:32:10 +00:00
Daxton Horspool 030e23f81f
#3890 Fixed Workflow Definition and Instance Browser Pagination (#3930)
* Fix WF Definition and Instance EF Impl.

Both Workflow Definition and Workflow Instance Browsers weren't paging correctly due to a missing Paginate IQueryable extension. Matched implementation detail for the Workflow Instance EF provider

* Workflow Instance browser persistence

Lookup settings are persisted in local storage for the workflow instance browser. Can be switched to session storage very easily, doesn't persist the search textbox value for now

* Workflow Definition browser persistence

Also added reset button for Workflow Instance settings, obviously resets everything to defaults and then persists
2023-04-19 10:28:14 +02:00
Sipke Schoorstra 31d24034d1 Update Email module
Fixes #3711
2023-04-18 22:14:18 +02:00
Sipke Schoorstra 8145e847e9 Merge remote-tracking branch 'origin/v3' into v3 2023-04-18 21:41:37 +02:00
Sipke Schoorstra 548bb34d3e Cleanup 2023-04-18 21:41:32 +02:00
GitHub Action 8445c13b47 Updated designer version to 3.0.3-preview.114 2023-04-18 19:33:40 +00:00
gurkanguran ecb95cc35d
Display generated version number on the designer (#3923)
* Implemented get version endpoint

* Get version from backend to display on designer

* Updated github pipelines

---------

Co-authored-by: Gürkan Güran <gguran@interfirst.com>
2023-04-18 21:29:55 +02:00
Sipke Schoorstra 3eb304e1ec
Fix flowchart completion bug (#3928)
* Ensure Flowchart completes when no more work

* Fix workflow instance JSON serializer

* Add tests that cover flowchart completion
2023-04-18 21:28:23 +02:00
GitHub Action 08671ebe39 Updated designer version to 3.0.3-preview.111 2023-04-18 12:56:12 +00:00
Daxton Horspool 8393713dd2
Tooltip Fixed Positioning (#3920)
Added support for Right, Left, Top, Bottom and Auto tooltip positioning. Auto positioning defaults to bottom, but repositions to top if the tooltip flows offscreen
2023-04-18 14:51:39 +02:00
Sipke Schoorstra be7cee7166 Fix hosted services configuration 2023-04-18 00:13:40 +02:00
Sipke Schoorstra 818019cd80 Minor Module optimizations 2023-04-18 00:08:24 +02:00
Sipke Schoorstra be911646e6 Add sample project for WorkflowContext module 2023-04-18 00:01:24 +02:00
Sipke Schoorstra 90e4b4680c Update PayloadSerializer to support Type serialization 2023-04-18 00:01:05 +02:00
Sipke Schoorstra 943df3d274 Cleanup and refactoring WorkflowContext APIs 2023-04-18 00:00:46 +02:00
Sipke Schoorstra 970d034037 Ensure app configuration gets invoked lastly 2023-04-17 23:59:02 +02:00
Sipke Schoorstra a5642034be Make sure all dependencies get invoked 2023-04-17 23:58:18 +02:00
Sipke Schoorstra b739f5c096 Fix missing feature dependency 2023-04-17 15:58:07 +02:00
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
Gürkan Güran d010dd5473 Merge branch 'v3' of https://github.com/elsa-workflows/elsa-core into v3 2023-04-14 16:19:40 +02:00
Gürkan Güran 6dabbd40ff Fix for variables in output tab not being refreshed 2023-04-14 16:19:38 +02:00
GitHub Action 8262cd2819 Updated designer version to 3.0.3-preview.105 2023-04-14 12:07:15 +00:00