Commit graph

3258 commits

Author SHA1 Message Date
Sipke Schoorstra a67361c6ae Fix variable type serialization 2023-04-28 14:31:38 +02:00
Sipke Schoorstra c31d5323a5
Add link between version ID and workflow definition activity (#3979)
Closes #3902
2023-04-28 12:40:51 +02:00
Yunus0497 4a7f5e2675
added sqlserver extension for 'ExecutionLogRecordPersistenceFeature' (#3971)
Co-authored-by: Mohammed Yunus <mohammedyunus@theaccessgroup.com>
2023-04-28 11:40:58 +02:00
Sipke Schoorstra 5d766e921b Merge remote-tracking branch 'origin/v3' into v3 2023-04-28 11:38:13 +02:00
Sipke Schoorstra 885119c768 Add events for ActivityExecuting and ActivityExecuted 2023-04-28 11:37:01 +02:00
herblinernexxbizz a0bdf45851
Features/fix serialization issues (#3966)
* run locally

* commit created test

* updated test

* Island

* Commented code

* creating tests

* upodate tests

* revert

* create working tests

* fix test roundtrip Jobject

* update tests

* finish tests

* create branch without getdefinition by keys

* move test files add @

* Special properties deserialization test

* refactor tests make it shorter

* clean PolymorphicObjectConverter

* rename properties

* Escape keys starting with reserved symbols

* Fix fix of converter

* Add newline normalization

* Minor cleanup and handling nullability warnings

* compact tests

---------

Co-authored-by: Marius Vasile Vușcan <marius.vuscan@nexxbiz.io>
Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2023-04-28 10:29:06 +02:00
GitHub Action dc109d2a42 Updated designer version to 3.0.3-preview.120 2023-04-27 15:38:22 +00:00
gurkanguran 453dbd2196
Auto update consuming workflows' composite activity references (#3950)
* Update consuming workflows when the composite activity published

* Display auto-update option and notifications in designer

* Update consuming workflows with a separate api call

* Display notification only if there are consuming workflows found

---------

Co-authored-by: Gürkan Güran <gguran@interfirst.com>
Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2023-04-27 17:33:48 +02:00
Sipke Schoorstra f3b45d3200 Update comment 2023-04-27 15:30:58 +02:00
gurkanguran e9f3cb9329
Publish workflows imported programatically (#3958) 2023-04-27 14:52:07 +02:00
Sipke Schoorstra 6bea19ef00 Fix workflow server and designer sample project 2023-04-26 14:41:12 +02:00
Sipke Schoorstra cdef7d409d Update input JSON converter to also read its ID 2023-04-25 22:39:56 +02:00
GitHub Action 876816b84c Updated designer version to 3.0.3-preview.119 2023-04-25 20:19:15 +00:00
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 06104ff250 Update onboarding sample app 2023-04-25 15:27:16 +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 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 9a0e609800 Add various sample projects 2023-04-22 00:02:02 +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