Commit graph

3812 commits

Author SHA1 Message Date
Sipke Schoorstra 0ea463fdd0
Add JSON workflow provider (#3955)
* Refactor import models

* Update API endpoints

* Add console sample to run workflow from JSON

* Add FluentStorage provider for JSON workflows + sample
2023-04-25 22:15:11 +02:00
Sipke Schoorstra 799e9e02ed Merge branch 'v3-sendemail-refactor' into v3 2023-04-25 15:27:57 +02:00
Sipke Schoorstra 06104ff250 Update onboarding sample app 2023-04-25 15:27:16 +02:00
Sipke Schoorstra 9aa433f64e
Refactor SendEmail inputs to support single string and string lists (#3952)
Fixes #3946
2023-04-25 11:24:02 +02:00
Sipke Schoorstra 32a6d4aef2 Refactor SendEmail inputs to support single string and string lists 2023-04-25 11:18:38 +02:00
Sipke Schoorstra 0590d817a9 Remove deprecated activity 2023-04-24 14:48:57 +02:00
Sipke Schoorstra b5f1d53e33 Fix named variable issue
Fixes an issue when referencing variables not previously set in higher scope.
2023-04-24 14:30:13 +02:00
Sipke Schoorstra 10c5d0c848 Fix serialization bug and update AllInOne reference app with support for webhooks 2023-04-24 13:44:34 +02:00
Sipke Schoorstra b104d27145 Update smtp4dev to listen on port 4000 instead of 3000
The documentation dev server also uses 3000
2023-04-24 13:43:14 +02:00
Sipke Schoorstra a45b7e5fb2
Implement Onboarding sample (#3944)
* Add Parallel activity

* Update polymorphic converter to handle null values

* Add support for converting ExpandoObject into target type

* Update models in Webhooks module

* Add Onboarding sample projects

* Handle null values in converter

* Add error logging to webhook invoker

* Allow activity resumption callbacks to be static

* Handle $ref when serializing expando objects
2023-04-23 20:03:52 +02:00
Sipke Schoorstra ba68192735 Fix sample workflow 2023-04-22 20:44:02 +02:00
Sipke Schoorstra eb2c866fc0 Update CompleteTask endpoint to use permissions instead of policy 2023-04-22 20:43:54 +02:00
Sipke Schoorstra 9b5c95b72f Allow application creation from remote hosts 2023-04-22 12:25:06 +02:00
Sipke Schoorstra b02c644e64 Implement admin API key provider 2023-04-22 11:10:44 +02:00
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