Commit graph

4508 commits

Author SHA1 Message Date
Sipke Schoorstra 883ca85753 Handle workflows marked as activities with duplicate names 2023-11-10 22:08:59 +01:00
Sipke Schoorstra f0f39bec77 Fix flowchart completion miss
Added a check to take into account scheduled work who's owner is tje flowchart
2023-11-10 22:08:35 +01:00
Sipke Schoorstra 603e97691c Update AllInOne project with latest Elsa Studio packages 2023-11-10 22:07:09 +01:00
Sipke Schoorstra 12b57a9abe Add support for single-value headers 2023-11-09 14:28:06 +01:00
Sipke Schoorstra 6552af5c59 Merge remote-tracking branch 'origin/v3' into v3 2023-11-09 13:35:08 +01:00
Sipke Schoorstra cd33d29768 Add support for direct-output binding
This change enables activity output to be directly bound to workflow output.
2023-11-09 13:35:02 +01:00
jdevillard 1b48305418
Enhancement/runtime options provider#4491 (#4614)
* add Endpoint to fetch data from options provider

* add Api Client Contract

* add context object in Endpoint

* Update Api Client Contract for Context

---------

Co-authored-by: Jérémie DEVILLARD <jdevillard@users.noreply.github.com>
2023-11-09 13:01:51 +01:00
Sipke Schoorstra f3beca94dc Fix merge issue 2023-11-04 18:47:14 +01:00
Sipke Schoorstra 8ca21ead16 Merge branch 'python' into v3 2023-11-04 18:39:02 +01:00
Sipke Schoorstra 2f3713bc35 Add option to register script scope configurations and expose wf properties 2023-11-04 18:38:11 +01:00
Sipke Schoorstra f8e0f20296
Add Python Expression support (#4600)
* Scaffold Python project

* Add Workflow Variable accessor

* Add RunPython activity

* Add option to register scripts via options
2023-11-04 18:15:56 +01:00
Sipke Schoorstra 3c13cbcc25 Fix XML comment 2023-11-04 18:14:52 +01:00
Sipke Schoorstra 2efd04cf53 Add option to register scripts via options 2023-11-04 18:08:56 +01:00
Sipke Schoorstra d1051cafb4 Add RunPython activity 2023-11-04 12:48:35 +01:00
Sipke Schoorstra cc6b2d6582 Add Workflow Variable accessor 2023-11-04 00:23:37 +01:00
Sipke Schoorstra 410d9ef9c6 Add FodyWeavers.xml 2023-11-03 22:32:19 +01:00
Sipke Schoorstra c5a88b01ea Scaffold Python project 2023-11-03 22:32:06 +01:00
Sipke Schoorstra ab32474c29 Refactor C# expression APIs 2023-11-03 22:01:19 +01:00
Sipke Schoorstra 5d1a1aaf86
Add C# expression support (#4594)
* Initial version of c# expressions

* Add support for strongly-typed workflow variable accessors

* Fix type casting

* Rename c# to C# in XML comments

* Rename Globals.Context to ExecutionContext and Variables to Context

* Move RunJavaScript activity to Elsa.JavaScript

* Add RunCSharp activity

* Add CSharpOptions

* Add common workflow properties and methods
2023-11-03 20:28:10 +01:00
Borja Fernández 643a895d70
Support for Oracle (#4592) 2023-11-01 10:42:32 +01:00
Sipke Schoorstra bf11f947fd Handle JSON parser error in case of bad input 2023-11-01 10:39:01 +01:00
Sipke Schoorstra 3aec7924b1
Storage module (#4588)
* Add File Storage module
2023-10-30 21:48:36 +01:00
GitHub Action e5ea85474b Updated designer version to 3.0.3-preview.208 2023-10-29 15:22:11 +00:00
bskfrederik de59913397
fix issue 4576 text alignment (#4577) 2023-10-29 16:18:49 +01:00
Sipke Schoorstra 02f042187f
Add Quartz.NET Migrations (#4586)
* Add migrations for SQLite, SQL Server, MySQL and PostgreSQL
2023-10-29 16:17:38 +01:00
Sipke Schoorstra 67c16a3c4c
Add WorkflowContext client API (#4585) 2023-10-29 11:36:01 +01:00
Sipke Schoorstra de4cf34c47 Expose HTTP Message Handler factory 2023-10-26 21:10:07 +02:00
Sipke Schoorstra eb93b3406f Update EF Core to 7.0.13 2023-10-26 15:17:17 +02:00
Sipke Schoorstra 591fdd670b Update ActivityNotFoundActivity to throw exception when executed 2023-10-26 14:54:21 +02:00
Sipke Schoorstra 2b34f1d72c
Update NotFoundActivity display text + description (#4578) 2023-10-26 14:37:18 +02:00
Sipke Schoorstra 02ec4c2391
Include NodeId for unique addressability within graph (#4575)
* Leverage ActivityNode for graph querying

* Make workflow definition activity Root port non-browsable

* Update Join activity

* Make NodeId first-class citizen
2023-10-25 22:46:06 +02:00
Sipke Schoorstra d27470468c Fix non-completing HTTP Response when there is no content 2023-10-23 14:23:55 +02:00
Sipke Schoorstra ec866ad381 Prevent native property name collision
This change ensures that the WorkflowDefinitionActivity supports custom input definitions even if they use the same name as properties already present on the activity, such as WorkflowDefinitionId.
2023-10-23 12:28:03 +02:00
Sipke Schoorstra 2f2fb467a0 Update getInput JS function to also consider parent workflow input 2023-10-22 22:03:48 +02:00
Sipke Schoorstra b60e55f91b Expose Azure Service Bus Client factories 2023-10-22 20:01:15 +02:00
Sipke Schoorstra 1cbbc920b7 Introduce WorkflowStarted and WorkflowFinished events
#4468
2023-10-20 14:52:53 +02:00
Sipke Schoorstra abff7f3907 Add test for activities and variables 2023-10-20 13:42:18 +02:00
Sipke Schoorstra bd1eb2edfa Rename ServiceBus integration tests project 2023-10-20 13:38:40 +02:00
Sipke Schoorstra d6481133fd Add WorkflowSerializer service for simplifies workflow deserialization 2023-10-20 11:36:12 +02:00
Sipke Schoorstra 366ce2fabd Normalize routes
This fixes an issue where routes are stored in an inconsistent format, potentially breaking workflow HTTP resumption due to bookmark hash mismatches.
2023-10-20 09:51:56 +02:00
Sipke Schoorstra c63369b567 Add system namespaces
For some reason my tooling no longer sees the global usings.
2023-10-20 09:50:57 +02:00
Sipke Schoorstra 5025577ee5 Update Elsa Studio packages 2023-10-20 09:09:36 +02:00
Sipke Schoorstra e6d4d73564 Update JS to lookup activity output by activity name 2023-10-20 09:09:11 +02:00
Sipke Schoorstra 796b92967b Safe activity node lookup 2023-10-20 09:08:37 +02:00
Sipke Schoorstra 5c2dc39606 Formatting 2023-10-20 09:08:19 +02:00
jdevillard fb68814974
Service Bus Activities enhancements - Workflow Inbox and Test (#4512)
* Add Service Bus Message Test Scenario

* change filename

* add workflow test

* save new unit test project (don't know why Guid have changed

* use WorkfloInbox Message for ReceiveActivity and Worker

* add test

* add correlationId

* add test with correlationId

* saving sln

* Fix project references

* remove Moq librairies for UnitTests Projects

* remove Moq and use NSubstitute

---------

Co-authored-by: Jérémie DEVILLARD <jdevillard@users.noreply.github.com>
Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2023-10-19 20:00:43 +02:00
Sipke Schoorstra f0047e63cb Update Stencil flow switch port provider with default case 2023-10-19 18:34:14 +02:00
Sipke Schoorstra 08d91d1852 Update display name of FlowSwitch to distinguish from sequential Switch 2023-10-19 18:18:17 +02:00
Sipke Schoorstra 443e608a05 Fix FlowJoin completion issue
The order here is important. Before this change, the flowchart would determine that there was still pending work, after which the FlowJoin would then cancel that work, leaving the Flowchart uncompleted.
2023-10-19 17:41:48 +02:00
Sipke Schoorstra cb08cad32b
Replace Stencil dashboard with Blazor in AllInOne.Web project (#4554) 2023-10-19 01:03:55 +02:00