Commit graph

1084 commits

Author SHA1 Message Date
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 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 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
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 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 a8e89731e5 Remove stale project reference 2023-10-18 22:42:23 +02:00
Sipke Schoorstra e3efec75b0 Copy local output variables to attached output variables 2023-10-18 19:23:36 +02:00
Nokecy 4056434e45
fix: fix hashSet deserialize error (#4545)
* update hangfire version to 1.8.5

* fix: fix hashSet deserialize error

* fix: replace HashSet to ISet<T>

* Update polymorphic converter and tests

---------

Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2023-10-17 23:14:40 +02:00
Sipke Schoorstra 170a14c914 Update FlowDecision 2023-10-17 22:42:16 +02:00
Sipke Schoorstra 903486ed5a
MassTransit Alterations Dispatcher (#4547)
* Add MassTransit dispatcher for alteration jobs
2023-10-17 08:51:45 +02:00
Sipke Schoorstra 8c76360f5d Updated migrations 2023-10-15 14:24:33 +02:00
Sipke Schoorstra 92dcd9991c Add JsonElementSerializer to MongoDB persistence provider
Fixes #4482
2023-10-15 13:58:44 +02:00
GitHub Action 29c3151c80 Updated designer version to 3.0.3-preview.206 2023-10-15 10:41:01 +00:00
Nokecy 9418382681
update hangfire version to 1.8.5 (#4537) 2023-10-15 12:12:38 +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 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
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
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