Commit graph

732 commits

Author SHA1 Message Date
axeleron007 c197ae9199 Final changes to PR/ 2021-10-02 22:46:10 +03:00
axeleron007 f203e0cdef PR change requests 2021-09-30 12:00:44 +03:00
axeleron007 f9923b5ca1 Intermediate commit to the PR requests 2021-09-29 12:36:32 +03:00
Andrey Mishurinsky bdf304627a
Merge branch 'master' into manual_workflow_trigger 2021-09-27 15:44:56 +03:00
axeleron007 8e1144435e SignalRConnectionId and IsTest flag are removed from blueprint classes 2021-09-27 15:40:19 +03:00
Sipke Schoorstra ff1d79a158 Merge branch 'master' of https://github.com/elsa-workflows/elsa-core 2021-09-27 14:06:17 +02:00
Sipke Schoorstra a9b1661e51 Publish correct event (WorkflowInstanceCancelled)
Fixes #1560
2021-09-27 14:06:01 +02:00
Sipke Schoorstra f15f14b240
Implement cleanup service (#1580) 2021-09-27 13:55:24 +02:00
Sipke Schoorstra cedc8873a6 Update SignalReceivedBookmarkProvider.cs
Fixes #1375
2021-09-19 13:46:50 +02:00
Sipke Schoorstra 5816cdf399 Refactor workflow execution log API
Fixes #1529
2021-09-17 08:16:19 +02:00
axeleron007 1f4f5f695b Code clean up 2021-09-17 09:13:11 +03:00
axeleron007 d9c9324020 code clean up 2021-09-17 09:11:30 +03:00
Sipke Schoorstra 142b574481 Update packages 2021-09-16 20:25:38 +02:00
Andrey Mishurinsky cb73a5295c
Merge branch 'master' into manual_workflow_trigger 2021-09-16 17:16:06 +03:00
axeleron007 dd2c14afe9 Faulted status added to Workflow Test 2021-09-16 15:38:29 +03:00
Sipke Schoorstra 7cb8e3edd1 Record fault execution log during begin workflow phase 2021-09-16 14:14:54 +02:00
axeleron007 dd16c1921f Fix to Test run mode. 2021-09-16 12:51:27 +03:00
axeleron007 b11ccbbc2d Use as Json Schema implementation 2021-09-15 12:32:41 +03:00
Sipke Schoorstra 6352372179 Update package references 2021-09-14 16:09:59 +02:00
axeleron007 08235ce8d4 Merge branch 'master' into manual_workflow_trigger 2021-09-14 15:19:10 +03:00
axeleron007 14c7582a32 Workflow Execution development 2021-09-13 18:29:40 +03:00
Sipke Schoorstra 86efb968c4 Implement workflow instance deleter with support for locking 2021-09-09 23:02:02 +02:00
Sipke Schoorstra 0184003b85 Publish WorkflowInstanceCancelled event from workflow runner 2021-09-09 23:02:02 +02:00
Sipke Schoorstra ac43c9fb9d Publish WorkflowInstanceDeleted event 2021-09-09 23:02:02 +02:00
Sipke Schoorstra fc96051628 Remove unnecessary ambient locking code 2021-09-09 23:02:02 +02:00
Sipke Schoorstra 64636a362b Initial work on workflow instance cancellation 2021-09-09 23:02:02 +02:00
Sipke Schoorstra 94b086f5f0 Update RefreshWorkflowContext.cs
This change ensures that workflow context (if a context ID is present) is always loaded before executing a workflow. This needs to happen regardless of the configured fidelity.

Fixes #1490
2021-09-08 10:21:25 +02:00
Sipke Schoorstra b007dc7574 Make boolean properties of ActivityInputAttribute non-nullable
Fixes #1390.
2021-09-03 13:10:00 +02:00
Sipke Schoorstra e04a910d96
Workflow journal enhancements (#1481)
* Add support for custom journal data logging

* Update ForEach with journal logging

* Update ReadLine with Journal logging

* Update For.cs

* Update While.cs

* Update Switch activity

* Update Join.cs

* Update Timer activities

* Update Azure Service Bus and Telnyx activities

* Update various other activities
2021-09-03 13:05:09 +02:00
Andrey Mishurinsky ef37f87514
Disable workflow (#1336)
* Publish/Subscribe events added to WorkflowSettings and WorkflowRegistry

* Workflow Registry re-indexed and cache refreshed on workflow disable/enable

* IsDisabled property added to WorkflowBlueprintSummary to display disabled status in the UI

* MySql, PostgreSql and SqlServer persistence added to Workflow Settings

* Validation for disabled workflow in Workflow Resumer

* WorkflowSettings configuration added to the appsettings.json

* Workflow Settings added to Elsa.Server.Host startup collection

* IWorkflowSettingsProvider implemented

* Update README.md

* Elsa-Workflow-Settings and Elsa-Webhooks separate modules added and decoupled from Elsa Web

* Delete unused Client projects

* LoadWorkflowSettingsDisabledHandler changes

* FeatureProvider removed, Webhooks plugin merged to Webhooks Feature Plugin

* Update Webhooks and Settings plugin

Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2021-09-02 16:20:10 +02:00
Andrey Mishurinsky a24fa583cc some test changes 2021-09-02 09:47:31 +03:00
Sipke Schoorstra 3c4a10d650 Implement infinite loop detection and handling 2021-09-01 19:06:07 +02:00
Sipke Schoorstra 8228053cd9 Fix duplicate Done outcome
Fixes #1455
2021-08-31 21:30:37 +02:00
Sipke Schoorstra d30c012790 Ensure refreshed workflow context
Fixes #1439
2021-08-31 16:55:22 +02:00
Sipke Schoorstra fc954d9968 Improve error messages
Closes #1425
2021-08-31 16:09:04 +02:00
Sipke Schoorstra f7a63b80c5 Reduce number of DB commits during workflow execution 2021-08-23 11:57:50 +02:00
Sipke Schoorstra 4a268c75c2 YesSql provider fixes 2021-08-20 09:55:18 +02:00
Sipke Schoorstra 812303efdc Fix YesSql provider issues 2021-08-19 21:56:05 +02:00
Sipke Schoorstra 6b31bdc6dd Fix an issue with correlated workflow selection
fixes an issue where correlated workflows of different definitions could not signal one another if the signal matches a workflow instance but was not listening for that signal. All startable workflows should always be considered except for the workflow definition that has an already correlated workflow instance matching the correlation ID.
2021-08-19 20:33:06 +02:00
Sipke Schoorstra 014fcf3ca4 Update Send Signal to use Dispatch mode
This fixes potential deadlock and race conditions when a workflow receiving the signal immediately sends a signal back.
2021-08-19 20:29:12 +02:00
Sipke Schoorstra c4b1cf1ee9 Update Fork.cs 2021-08-19 20:28:21 +02:00
Sipke Schoorstra 87132d49c5 Initial fix for deadlock situation
When a parent workflow triggers another workflow using signaling and using the same correlation ID, the distributed lock provider would try to acquire a lock on the same resource, causing a deadlock situation.

This isn't the final fix.
2021-08-19 14:45:26 +02:00
tomy2105 2ab5b3e9ea
Disposing IBus instances (#1374) 2021-08-11 12:29:36 +02:00
Sipke Schoorstra 65e35dd3cb Fix an issue with re-scheduling scopes while workflow is Suspended
This solves an issue when a workflow uses a fork activity where multiple branches get scheduled, but one of them contains a blocking activity, putting the workflow in the Suspended state. But as the other scheduled activities execute and "unwind" when the leaf node finished, their current scope weren't being re-scheduled.
2021-08-10 19:41:58 +02:00
Sipke Schoorstra 212585c0ad Fix that scope activities aren't rescheduled
This fixes the issue when a scope activity such as If and composite activities aren't rescheduled when they are leaf nodes.
2021-08-10 10:35:01 +02:00
Sipke Schoorstra 72fcfd7ff4 Fix WorkflowPublisher
Fixes #1293
2021-08-09 13:15:34 +02:00
Sipke Schoorstra 0222c20d7d Fix Join activity to clear ALL blocking activities in ancestor paths
Fixes #1342
2021-08-07 19:57:25 +02:00
Rafael Carnucci 30ee68671d Pass TenantId as parameter 2021-08-07 19:01:00 +02:00
Sipke Schoorstra db9df4736f Call into Workflow Context's Remove Blocking Activity 2021-08-07 18:39:45 +02:00
Sipke Schoorstra b385dfcdad Fix RunWorkflow activity outcome cast issue 2021-08-05 14:26:25 +02:00