Commit graph

4449 commits

Author SHA1 Message Date
Sipke Schoorstra 92dcd9991c Add JsonElementSerializer to MongoDB persistence provider
Fixes #4482
2023-10-15 13:58:44 +02:00
Sipke Schoorstra bdb9247961 Merge remote-tracking branch 'origin/v3' into v3 2023-10-15 12:42:15 +02:00
Sipke Schoorstra b238e2ee8c Update Elsa API client 2023-10-15 12:42:09 +02:00
GitHub Action 29c3151c80 Updated designer version to 3.0.3-preview.206 2023-10-15 10:41:01 +00:00
bskfrederik 22251291b0
bugfix publish workflow results in 415 response (#4517) 2023-10-15 12:38:07 +02:00
solutionmania fd4af35aa4
Adds Swagger documentation generation and UI. (#4525) 2023-10-15 12:24:45 +02:00
Nokecy 9418382681
update hangfire version to 1.8.5 (#4537) 2023-10-15 12:12:38 +02:00
Sipke Schoorstra c1de5028e9 Update Onboarding sample with SignalR for realtime Elsa Studio updates 2023-10-15 12:02:51 +02:00
Sipke Schoorstra 9ad3b1423c Update builder API to use type name for workflow name by default 2023-10-15 12:02:18 +02:00
Sipke Schoorstra e506f277b2 Add endpoint to generate multiple runs for a workflow definition 2023-10-15 11:37:51 +02:00
Sipke Schoorstra 3ee537cc44 Update Onboarding sample project 2023-10-15 11:37:21 +02:00
Sipke Schoorstra 369e4e52c8 Fix CLR materializer
Fix that workflows materialized from CLR materializer lose definition version ID and version
2023-10-15 11:36:56 +02:00
Sipke Schoorstra c9e2b11dfe Fix RunTask activity
This fixes the issue where its bookmark would include the activity instance ID, which causes the task completion reporter to miss the bookmark, since the activity instance ID is not included. Including the activity instance ID is not necessary for locating the correct activity instance because the generated Task ID is unique for each activity run.

Fixes #4511
2023-10-15 11:35:38 +02:00
Sipke Schoorstra c2d9ec4fd2 Make programmatic workflow variable IDs deterministic 2023-10-15 11:32:13 +02:00
Sipke Schoorstra cdf5f9f614 Rename Port Resolver to Activity Resolver
In the scenario where this resolver is used, it's not about discovering ports, but about constructing a graph from the workflow by going through each activity or activities property.
2023-10-15 11:31:24 +02:00
Sipke Schoorstra 01bfc15df9 Exclude activity instance ID from HTTP Endpoint bookmarks 2023-10-15 00:24:00 +02:00
Sipke Schoorstra 402bfda6d7 Merge branch 'v3-activity-state-tracking-issue' into v3 2023-10-13 12:17:50 +02:00
Sipke Schoorstra fa18303198 Handle conversions from object arrays to strings 2023-10-13 12:17:00 +02:00
Sipke Schoorstra 4f50850a1e
Capture activity state (#4530) 2023-10-13 10:34:21 +02:00
Sipke Schoorstra 2d3c13f745 Update SafeSerializer to serialize to JsonElement 2023-10-13 10:17:34 +02:00
GitHub Action 580abe8c7f Updated designer version to 3.0.3-preview.205 2023-10-13 07:30:12 +00:00
Sipke Schoorstra c042429b60 Merge branch 'v3' into v3-activity-state-tracking-issue 2023-10-13 09:28:01 +02:00
Sipke Schoorstra 413d330f01 Merge branch 'v3-740-hotfix-1' into v3 2023-10-13 09:27:12 +02:00
cristinamudura 749756871c
Update packages.yml 2023-10-12 14:50:16 +02:00
Sipke Schoorstra 09dbb9b4d4 Update GH actions 2023-10-12 14:38:59 +02:00
Sipke Schoorstra d7bc15571b Update GH actions 2023-10-12 14:26:29 +02:00
Sipke Schoorstra b19b197484 Add Soap+XML content type support 2023-10-12 14:20:15 +02:00
Sipke Schoorstra fca51abf52 WIP 2023-10-12 13:37:32 +02:00
Sipke Schoorstra a770decc7f Update Flowchart to adhere to CanStartWorkflow 2023-10-12 11:52:05 +02:00
Sipke Schoorstra 6acec86502 Update CancelActivity alteration to affect all activity instances 2023-10-11 12:03:25 +02:00
Sipke Schoorstra 2b909997bc Fix duplicate key issue for older definition formats 2023-10-10 12:55:44 +02:00
Sipke Schoorstra ca5692e3bc
Alteration Improvements and fixes (#4518)
* Remove unused NOOP stores

* Add activity execution manager and FindAsync method to store

The notification is used to broadcast changes to SignalR clients.

* Refactor ActiveActivityExectionContexts

Instead, the workflow state extractor is in control of what gets extracted.

* Add missing files for activity execution deleted broadcast

* Update Flowchart to not fault when child faults

* Update Flowchart to support scheduling existing activity instances

* Update namespaces from Services to Stores

* Improve activity cancellation alteration

* Update ScheduleActivity alteration
2023-10-10 12:34:32 +02:00
jdevillard 60508d40b5
add applications properties to Message Sent to Service bus (#4492)
Co-authored-by: Jérémie DEVILLARD <jdevillard@users.noreply.github.com>
2023-10-07 23:33:07 +02:00
solutionmania 1f014c9264
Corrected behaviour of 'For' activity. (#4497)
* Add 'Auto Step Direction' option to 'For' activity.

* Adjusted 'For' behaviour to be more consistent with generally expected behaviour.
2023-10-07 23:31:16 +02:00
Sipke Schoorstra b7daf718f6 Remove incorrect default connection string values 2023-10-07 23:29:19 +02:00
jeanbaptistedalle 7547708603
Feature/postgresql efcore (#4500)
* Create the extension to enable efcore for postgresql with workflow-runtime

* Create a efcore postgresql samples to check extensions

---------

Co-authored-by: Jean-Baptiste Dalle <jean-baptiste.dalle@stereograph.fr>
2023-10-07 23:24:56 +02:00
bskfrederik 4b86200164
bugfix using editor as standalone (#4487) 2023-10-07 15:37:39 +02:00
Sipke Schoorstra bddf522e55
Activity Preconditions (#4507)
* Add CanExecuteAsync precondition method

* Rename GetInput to GetWorkflowInput to disambiguate between input sent to workflow and input sent to indiviudal activities.
2023-10-07 14:22:51 +02:00
Sipke Schoorstra 523f301bf7
Feature: Alterations (#4501)
* Implement Alteration types and engine

* Implement Alteration APIs

* Refactor activity work item with support for activity input

* Serialize scheduled activities as part of workflow state

* Add signal to schedule child activity

* Implement stores for plans and jobs

* Add EF Core provider

* Add Retry endpoint

* Keep root context as always active. The root context is the workflow execution context and contains persistent variable state

* Regenerate EF Core migrations

* Handle orphaned activity execution contexts

* Refactor workflow execution factory

* Enable configuring Jint from Program

* Update ModifyVariable alteration with support for type deserialization

* Use ShortGuid for identity

* Cleanup WorkflowServer host
2023-10-07 12:47:36 +02:00
Sipke Schoorstra 98e424faa2 Return Bad Request when receiving invalid header values 2023-10-03 10:25:57 +02:00
Sipke Schoorstra 2a7ca95456 Make ConnectionComparer more resilient 2023-09-28 14:09:34 +02:00
Sipke Schoorstra f6f1d930e2 Rename display text of Flow Node 2023-09-28 13:38:37 +02:00
Sipke Schoorstra bf5de06799 Update Jint package 2023-09-28 13:38:19 +02:00
Sipke Schoorstra a011427f35 Handle non-existing drop in directory 2023-09-27 13:11:40 +02:00
Sipke Schoorstra 493c8af3be Update Proto.Actor to 1.4.0 2023-09-27 09:58:57 +02:00
herblinernexxbizz acc5bb5ac3
REturn workflowstate around faulted workflowinstances to make it consistent, add UsesSasTokent to make all in one work (#4484) 2023-09-26 15:29:45 +02:00
Sipke Schoorstra fd9554937a Remove test endpoint 2023-09-26 15:12:14 +02:00
Sipke Schoorstra 5dd6c85045 Make SasTokens implicit dependency of Workflows API
SAS tokens are used by the Events/Trigger API endpoint.
2023-09-26 15:11:46 +02:00
Sipke Schoorstra e75e600910 Fix resumable download issue 2023-09-25 13:58:05 +02:00
Sipke Schoorstra 8025edfbe3 Update programmatic Document Approval workflow sample 2023-09-25 10:31:00 +02:00