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
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
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
Sipke Schoorstra
3ec9df87c1
Initial work on Elsa Client
2023-04-01 16:15:35 +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
Sipke Schoorstra
3d46b9558d
Fix loss of input/output settings upon restoration of dependency workflow
2023-03-28 15:31:02 +02:00
Sipke Schoorstra
877a65fe13
Fix loss of output
2023-03-28 13:02:31 +02:00
gurkanguran
fab9470504
Importing workflows regardless of the order ( #3833 )
...
* Import workflows regardless of the order
* Store original activity json
2023-03-27 12:48:16 +02:00
Sipke Schoorstra
0e992a9cbd
Ensure outputs on WorkflowDefinitionActivity are declared in memory register
...
This ensures that activities in the workflow setting a variable assign it to the right location in the right memory register.
2023-03-24 20:59:15 +01:00
Sipke Schoorstra
5aefa30886
Rename helper TryGet to GetOrDefault
2023-03-24 20:57:27 +01:00
gurkanguran
ee28ff69e1
Import workflows with subworkflow properly ( #3825 )
...
* Update activity registry on workflow creation
* Read subworkflows properly from json file
---------
Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2023-03-23 11:23:12 +01:00
gurkanguran
e4789cf85b
Reference variable with Id instead of Name to prevent issues with updating name ( #3814 )
...
* Implemented Id property for variable for memory reference
* Removed debugger
* Fixed the issue with memory block reference of variable
* Fixed infinite recursive calling issue
* Handle variables with ID already containing
* Update JS variable getters based on declared variables
* Prevent Export from including composite roots
* Update JS evaluator with support for reading and writing variables in scope
* Fix polymorphic converter with support for arrays
---------
Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2023-03-22 22:50:26 +01:00
Sipke Schoorstra
9f3d654cbc
Update JSON property dictionary serialization to maintain original .NET types
2023-03-22 12:19:23 +01:00
Sipke Schoorstra
fad27d0fb0
Refactor composite activity input and scoped memory ( #3815 )
...
* Incremental work
* Enable control over when to include full compositie root
* Cleanup
* Update WorkflowDefinitionActivity
* Implement input as variables
* Delete unused class
* Remove less common types
* Rename ExpandoObject to JSON
* Implement variable scoping
* Remove parent/child relationship from MemoryRegister
* Add support for sending input to "trigger event" endpoint
* Add support for configuring input storage driver
* Remove unused namespace imports
* Auto-register activity types when running a workflow
* Fix missing variables from containers
2023-03-20 19:55:11 +01:00
Sipke Schoorstra
a9e67b9b1c
Add support for object literals to Outcome activity
2023-03-17 21:11:55 +01:00
Sipke Schoorstra
1c013efa38
Fix WorkflowDefinitionActivityProvider
...
In addition to yielding defined outcomes as ports, the Root activity needs to be included as well in order for child activities to be visible to the activity walker.
2023-03-15 21:32:40 +01:00
Sipke Schoorstra
6fcf23dffa
Add XML comments & small cleanup
2023-03-14 08:14:14 +01:00
Sipke Schoorstra
d8b95db04e
Add support for providing workflow input via dispatch endpoint
2023-03-13 12:31:23 +01:00
Sipke Schoorstra
297d6eaa65
Fix loss of input + variables
2023-03-08 19:39:56 +01:00
Sipke Schoorstra
64f5a9b38c
Fix version mismatch between Workflow activity and derived composite descriptor
2023-03-08 15:51:55 +01:00
gurkanguran
355cf2a3de
Validate JsonElement value to prevent exception during json serialization ( #3777 )
2023-03-08 11:48:24 +01:00
Sipke Schoorstra
7ba4dc5039
Add support for controlling when to serialize properties of type IActivity
2023-03-08 01:03:01 +01:00
Sipke Schoorstra
e6ce1cebb3
Stash
2023-03-08 00:31:51 +01:00
Sipke Schoorstra
21f8980adb
Improve workflow versioning logic
2023-03-07 23:31:09 +01:00
Sipke Schoorstra
83fb433ffc
Add alias for dictionary type
2023-03-07 22:02:46 +01:00
Sipke Schoorstra
1ac64b8197
Store & display evaluated activity state in workflow instance viewer ( #3776 )
...
* Implement activity state persistence
* Add sort API
* Implement activity state view
* Update EF Core migrations
2023-03-07 21:40:53 +01:00
Sipke Schoorstra
1a713b4619
Rename "services" to "contracts" and "implementations" to "services" ( #3758 )
2023-03-03 22:47:23 +01:00
Sipke Schoorstra
bb1c6e91dc
Update completion signaling
2023-03-03 15:22:49 +01:00
Sipke Schoorstra
00bd3228f6
Restructure contracts vs services namespace
2023-03-03 14:48:05 +01:00
Sipke Schoorstra
0832bc95f6
Implement outcomes for composite activities from workflow definitions
2023-03-03 14:47:34 +01:00
Ifran Laloe
280b905092
Fix Version Constraint error when saving workflows ( #3752 )
...
* Fix Version Constraint error when saving workflows
* Moved publishing event to the start of PublishAsync()
---------
Co-authored-by: Ifran Laloe <i.laloe@betabit.nl>
2023-03-02 10:31:24 +01:00
Sipke Schoorstra
431db1c353
Refactor store APIs ( #3740 )
...
* Add array support for input/output arguments
* Add alias support for nullable types
* Refactor workflow definition store API
* Fix array and ui hint setting of input/output definition
* Refactor workflow instance store API
* Add XML comments
* Refactor trigger and bookmark store API
2023-02-27 14:14:50 +01:00
Sipke Schoorstra
4e4e647395
Fix issue in workflow definition activity provider
2023-02-23 12:11:44 +01:00
Sipke Schoorstra
5b1a5cba7f
Enable composite activity version control ( #3732 )
...
* Update activity to store settings about which version to use
* Break up big function
* Implement activity version control UI
2023-02-23 11:46:03 +01:00
Sipke Schoorstra
b21477b98f
Fix composite activity completion
2023-02-22 15:56:50 +01:00
Sipke Schoorstra
1e0fdf937d
Add output picker for SetWorkflowOutput activity ( #3728 )
...
* Add output picker for SetWorkflowOutput activity
* Update designer version
2023-02-21 21:15:09 +01:00
Sipke Schoorstra
0bdec81491
Fix output binding
2023-02-21 15:18:23 +01:00
Sipke Schoorstra
1d1808af89
Workflow input/output ( #3726 )
...
* Improve activity JSON converter
Handles wrapped and unwrapped input
* Add SetWorkflowOutput activity
* Implement handling of child workflow output
2023-02-21 11:47:20 +01:00
Sipke Schoorstra
6e8c4f9404
Dispatch Workflow activity ( #3710 )
...
* Implement DispatchWorkflow activity
* Implement workflow definition picker control
2023-02-16 11:00:06 +01:00
Sipke Schoorstra
e74133c52b
Add dictionary support ( #3704 )
2023-02-15 12:09:45 +01:00
Sipke Schoorstra
50912a2762
Fix journal
2023-02-13 15:26:04 +01:00
Sipke Schoorstra
5f6454b59c
Workflow as Activity - input/output ( #3699 )
...
* Restructure component folders
* Restructure JavaScript module folders
* Remove ActivityType field from descriptor
No longer necessary.
* Incremental work on synthetic properties
* Implement synthetic property persistence
* Add JS functions to return input from composed activity
* Cleanup
* Take into account versioning
* Fix versioning
* Add Output management
* Implement output handling
2023-02-13 12:15:20 +01:00
Sipke Schoorstra
0dd3e2bad8
Tweaks and fixes ( #3672 )
...
* Various additions and tweaks
* Fix WriteHttpResponse when no content type provided
* Bump designer version
* Return when sending response
* Remove faulty validation
2023-02-03 14:29:44 +01:00
Sipke Schoorstra
11b684274c
Add variable types to Type Definition output
2023-01-31 11:01:39 +01:00
Sipke Schoorstra
5292d71aef
Fix workflow definition activity version availability
2023-01-30 17:30:32 +01:00
Sipke Schoorstra
d17f2af87a
Move WorkflowDefinitionActivity to Activities folder
2023-01-30 17:30:13 +01:00
Sipke Schoorstra
41b356a02b
Refactor draft version selection
2023-01-30 17:29:54 +01:00
gurkanguran
407bfa6913
Use workflow definition as activity ( #3654 )
...
* Implemented usage of workflow definitions as activities
* Updated designer
* Removed activity definitions module
* Allow user to mark workflow to be used as activity
* Refactor
* Refactor
* Cleanup csproj
* Cleanup WorkflowDefinitionActivity
* Pascalize typename
* Fix JS intellisense initial load issue
* Add XML comments
* Add Jobs dependency
* Hide Composite root port from designer
* Move finding workflow activities logic to lower level
* Generate unique identities across hierarchy
* Refactor
* Revert "Generate unique identities across hierarchy"
This reverts commit 74f5e7830309ee76af6ab3a000a5e1ec41f1e90c.
* Implement unique node IDs
* Introduce new VersionOptions option
* Remove unused namespaces
---------
Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2023-01-28 00:36:03 +01:00
Gürkan Güran
3426cd28b7
Merge branch 'v3' into activity-definitions
2023-01-25 18:08:20 +01:00
Sipke Schoorstra
fe845e65e7
Fix JsonObject type handling
2023-01-25 11:46:07 +01:00