Commit graph

414 commits

Author SHA1 Message Date
Sipke Schoorstra d2d7f23d73
Fix deadlock + multiple trigger support (#3720)
* Lock on specific hash for new workflows and split between trigger new /& existing workflows

* Update flowchart to take into account the triggered activity to start

* Use dispatcher for resuming parent workflows

* Update logging middleware (and remove it by default)
2023-02-20 12:05:57 +01:00
Sipke Schoorstra 0a831ff65b Fix DispatchWorkflow 2023-02-17 19:23:34 +01:00
Sipke Schoorstra a62956b2c0 Wrap Strategy property of Delay activity 2023-02-16 19:59:30 +01:00
Sipke Schoorstra a580fd77f1 Update designer package version 2023-02-16 19:34:06 +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 cfe9abb92e Update designer package reference 2023-02-15 16:17:15 +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 2a2b739568 Update activity categories 2023-02-06 17:32:35 +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 c119724b73 Update JSON content parser with support for enum names 2023-01-31 12:40:50 +01:00
Sipke Schoorstra 55670ea949 Fix text content factory with default media type 2023-01-31 12:40:29 +01:00
Sipke Schoorstra 11b684274c Add variable types to Type Definition output 2023-01-31 11:01:39 +01:00
Sipke Schoorstra 64ceb843d0 Fix tests 2023-01-31 10:50:32 +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
Sipke Schoorstra f7b6ab0a54 Bump designer version 2023-01-28 00:40:36 +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
Sipke Schoorstra e962eccccb Fix botched merge 2023-01-26 21:05:23 +01:00
Sipke Schoorstra 7cc921bc2a Merge remote-tracking branch 'origin/v3' into v3 2023-01-26 21:04:53 +01:00
Sipke Schoorstra aec82b8068 Update designer version 2023-01-26 21:02:38 +01:00
Gürkan Güran b297ba61f9 Updated designer package version 2023-01-25 19:15:09 +01:00
Gürkan Güran 3426cd28b7 Merge branch 'v3' into activity-definitions 2023-01-25 18:08:20 +01:00
Sipke Schoorstra 65919c484d Bump designer version 2023-01-25 12:36:18 +01:00
Sipke Schoorstra fe845e65e7 Fix JsonObject type handling 2023-01-25 11:46:07 +01:00
Gürkan Güran c1b67fc9be Merge branch 'v3' into activity-definitions 2023-01-25 01:44:43 +01:00
Sipke Schoorstra 2697f512e9 Implement XML content writer 2023-01-24 22:39:31 +01:00
Sipke Schoorstra 061daa206d Implement dynamic HTTP content writing 2023-01-24 21:48:05 +01:00
Sipke Schoorstra 6dba654e9f Make HTTP bookmark processing reusable 2023-01-24 21:03:50 +01:00
Gürkan Güran 080da3b04e Implemented activity definition version history 2023-01-24 17:36:03 +01:00
Sipke Schoorstra 9c07d19903 update designer package 2023-01-24 10:50:03 +01:00
Sipke Schoorstra 98d0920cfc Add support for array variables and fix serialization issue with proto 2023-01-23 23:30:00 +01:00
Sipke Schoorstra 0caa4c3c49 Add XML comments to ForEach<T> 2023-01-23 15:58:49 +01:00
Sipke Schoorstra b7a9607951 Fix SendHttpRequest activity
Fixes an issue where an exception occurs when no content is provided
2023-01-23 15:57:38 +01:00
Sipke Schoorstra 4f5bc70bd4 Fix ExpandoObjectConverter 2023-01-23 15:57:07 +01:00
Sipke Schoorstra e3deafedf3 Add toJson JS function
The Jint implementation of JSON.stringify only supports a limited set of objects (not .NET LocalDate for example)
2023-01-20 19:26:38 +01:00
Sipke Schoorstra e918bc9301 Bump designer version 2023-01-20 19:04:43 +01:00
Sipke Schoorstra 2eda8dfd3b Improve JSON expression type handling 2023-01-20 19:02:29 +01:00
Sipke Schoorstra a69812d03d Update referenced designer package version 2023-01-20 15:27:38 +01:00
Sipke Schoorstra b170654ec4 Rest API depends on JavaScript feature 2023-01-20 14:42:01 +01:00
Sipke Schoorstra 354781e193 Rename Activity to CodeActivity and ActivityBase to Activity 2023-01-19 21:49:24 +01:00
Sipke Schoorstra 28e9922060
JavaScript intellisense (#3639)
* Incremental work

* Incremental work

* Incremental work

* Initial support for intellisense

* Implement variable type definition provider
2023-01-19 14:09:58 +01:00
Gürkan Güran 4f000c641b Added content-type and headers options for HttpResponse activity 2023-01-18 13:00:27 +01:00
Sipke Schoorstra 47dd372211 Remove temp code 2023-01-17 12:27:18 +01:00
Sipke Schoorstra 0f350a0359 Remove unused namespaces in Elsa.Workflows.Core 2023-01-17 12:23:06 +01:00
Sipke Schoorstra 9fc01875d2 Fix potential NRE in HTTP activities when attempting to determine target type 2023-01-17 12:22:44 +01:00
Sipke Schoorstra 9351671b06 Fix workflow fault state deserialization 2023-01-17 12:21:49 +01:00
Sipke Schoorstra 0e1922621e
HTTP activity body parsing (#3631)
* Implement content parsers and update SendHttpRequest

* Fix parsers

* Fix parser ordering

* Implement content parsing for HTTP Endpoint activity

* Cleanup

* Remove unused models

* Update file name to match class name
2023-01-16 19:42:45 +01:00