Commit graph

894 commits

Author SHA1 Message Date
axeleron007 c197ae9199 Final changes to PR/ 2021-10-02 22:46:10 +03:00
axeleron007 cc600ff372 Merge branch 'master' into manual_workflow_trigger 2021-10-02 22:43:29 +03:00
Sipke Schoorstra 2a01f6c5a7 Retry: Update ObjectConverter to not throw when value is null 2021-10-01 19:28:39 +02:00
Sipke Schoorstra e0f57a7ac0 Update ObjectConverter to not throw when value is null 2021-10-01 19:11:34 +02:00
axeleron007 f893cbe6e6 PR change requests 2021-10-01 11:40:31 +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
axeleron007 418d7edca9 Json schema ad hoc validation added and code clean up 2021-09-27 13:31:57 +03:00
axeleron007 04bacaa281 fixes 2021-09-21 14:04:37 +03:00
Sipke Schoorstra cedc8873a6 Update SignalReceivedBookmarkProvider.cs
Fixes #1375
2021-09-19 13:46:50 +02:00
Sipke Schoorstra 30ec4b20b5 BREAKING: Refactor SendHttpRequest content parser APIs
Allows user to select what content parser to use to handle response of requests made by SendHttpRequest activity.
2021-09-18 11:39:45 +02:00
Sipke Schoorstra a3f40c95f7 Fix type cast issue due to JSON serialization of enums
When the workflow instance gets persisted in the DB, activity enum properties get stored as an integer (Int64), which cannot be cast to the enum.

This change fixes that by performing a conversion instead of a direct cast.

Fixes #1515
2021-09-17 10:53:23 +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 3d64d75782 Code clean up and refactoring 2021-09-16 14:52:32 +03: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 eea740e502 Work on some warnings 2021-09-14 16:15:20 +02: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 de9ac4b074 Incremental fix for YesSQL provider with And/Or specifications
Fixes #1472
2021-09-06 16:30:35 +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
nokecy 5502d73ca0 fix event error 2021-08-24 11:51:11 +02:00
nokecy 518be0a062 add BlockingActivityAdded event 2021-08-24 11:51:11 +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