Commit graph

532 commits

Author SHA1 Message Date
Sipke Schoorstra cea4c8fa0a Add support for resuming workflows using activity instance ID and hash 2023-04-06 14:59:30 +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
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
Sipke Schoorstra 62c0e024d2 Update package-lock 2023-03-27 21:11:15 +02:00
Sipke Schoorstra dcd4ae121f Update referenced NPM package version 2023-03-27 21:05:12 +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 aabdce5ff4 Refactor response models for Application and User 2023-03-27 11:36:11 +02:00
Sipke Schoorstra 97b8d2ae7d Fix JWT Bearer options configurator 2023-03-27 11:35:49 +02:00
Sipke Schoorstra ded2966416 Add missing AdminRoleProvider 2023-03-27 11:35:33 +02:00
Sipke Schoorstra bf810e7d7a Add endpoint to create users 2023-03-27 00:43:39 +02:00
Sipke Schoorstra 30c4e5b1e7
Implement API key authentication (#3834)
* Implement API key storage

* Implement API key validation

* Implement EF Core providers
2023-03-26 23:53:17 +02:00
Sipke Schoorstra cebf6f12e3 Add integration test for reading composite activity output 2023-03-24 22:25:48 +01: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 ac8e43cbed Ensure variables declared on a Composite activity get declared 2023-03-24 20:58:06 +01:00
Sipke Schoorstra 5aefa30886 Rename helper TryGet to GetOrDefault 2023-03-24 20:57:27 +01:00
Sipke Schoorstra b76442859b Fix handling of sequence type serialization 2023-03-24 11:11:56 +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 8289b03f79 Fix JSON serialization issues 2023-03-22 19:28:38 +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 32db4a75fd Remove oracle code for entities not part of the current DB context
Fixes #3804
2023-03-20 21:52:11 +01:00
Sipke Schoorstra 57882a5a80 Add support for triggering event synchronous and specific workflow instance targeting 2023-03-20 21:38:00 +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 dc2dcb44a9 Fix missing fields on export 2023-03-15 21:40:28 +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 69f7e80415 Update Complete activity with support different outcome types 2023-03-15 21:31:32 +01:00
herblinernexxbizz 95ca326133
Features/v3 add short and full guid (#3800)
* add full guid and shortguid as javascript/jint functions with intellisense

* add guid as string and rename other method
2023-03-15 12:29:07 +01:00
Sipke Schoorstra c81e328c8d Fix early exit on workflow definition activity input evaluation 2023-03-14 08:17:04 +01:00
Sipke Schoorstra a11798e936 Update ActivityDescriptorExtensions to potentially return null when getting an attribute 2023-03-14 08:16:04 +01:00
Sipke Schoorstra 85fb7360b4 Add dictionary extension methods to get value or default 2023-03-14 08:14:42 +01:00