Commit graph

835 commits

Author SHA1 Message Date
Sipke Schoorstra 420e2e65c5 Add caching layer to WorkflowRegistry 2021-01-30 20:11:08 +01:00
Sipke Schoorstra 386879781d Add AddActivitiesFrom overloads 2021-01-30 14:43:32 +01:00
Sipke Schoorstra 0bb95ec06f Update RunWorkflow activity to return Done if child workflow finished synchronously 2021-01-30 14:43:18 +01:00
Sipke Schoorstra 7cfe24ba94
Implement revival of faulted workflow (#595)
* Initial version of workflow reviver

* Fix DI things

* Rename workflow builder parameter to `builder`

* Update EF Core stores to use short-lived db contexts

* Update serializer to use new settings to reset ID seed

* Write fault details

* Add faulty workflows sample project

* Switch to free & open source Z.EntityFramework.Plus.EFCore

* Add content type header

* Fix call to virtual OnSaving/OnLoading

* Fix retry
2021-01-30 12:47:50 +01:00
Sipke Schoorstra 59189bd330
Revise trigger API (#593)
* Update triggers

* Fix service registrations

* Add support for startup task ordering

* Add missing Rebus Activities project

* Handle indexing of many workflow instances

* Update sample

* Separate bookmarks from start triggers

* Add trigger API

* Fix queue worker

* Delete sqlite temp files
2021-01-29 16:16:45 +01:00
Sipke Schoorstra 2172b029c9 Fix warning 2021-01-28 14:35:11 +01:00
Sipke Schoorstra 9a784f9a8e Fix compilation error 2021-01-28 14:34:40 +01:00
Sipke Schoorstra 6954152993 Fix lifetime scope issue in QueueWorker 2021-01-28 14:22:45 +01:00
Sipke Schoorstra a60b973a06 Add support for ordered startup tasks 2021-01-28 14:13:31 +01:00
Sipke Schoorstra 343b182ba0 Use CommandSender instead of EventPublisher 2021-01-28 09:30:52 +01:00
Sipke Schoorstra c9c29c2052 Defer RunWorkflowInstance messages when unable to acquire lock on workflow instance 2021-01-28 09:30:29 +01:00
Sipke Schoorstra 3cc80939c0 Add GetInput/GetOutput overloads accepting default value 2021-01-28 09:29:46 +01:00
Sipke Schoorstra 17e7fe9251 Remove period from log statement 2021-01-28 09:29:16 +01:00
Sipke Schoorstra d593194457 Add Defer method to CommandSender 2021-01-28 09:28:45 +01:00
Sipke Schoorstra f6c58a9b6c Improved logging and ElsaContext cleanup 2021-01-27 11:53:51 +01:00
Sipke Schoorstra 3834c3cc9e
Fix Join ancestor order bug and add Resuming event to execution log (#591)
* More logging events

* Add Resuming event to log

* Fix Join ancestor order bug
2021-01-27 10:03:03 +01:00
Sipke Schoorstra 0e78b98c2a
Add event to preempt workflow/activity execution (#589) 2021-01-25 15:53:49 +01:00
Sipke Schoorstra e0238982c3 Expose Azure Service Bus transport settings 2021-01-25 12:45:35 +01:00
Sipke Schoorstra a5c6824023 Make Azure Service Bus queue worker parallelism configurable 2021-01-25 12:29:10 +01:00
Sipke Schoorstra 258178163c Update SqlLockProvider to not block by using concurrent dictionary 2021-01-22 15:26:56 +01:00
Sipke Schoorstra f6cb6cc055 Reorder startup tasks 2021-01-22 14:58:58 +01:00
Sipke Schoorstra 0a11cced56 Set peek lock 2021-01-21 20:13:02 +01:00
Sipke Schoorstra c4fc9bdfc1 Increase TTL 2021-01-21 19:30:28 +01:00
Sipke Schoorstra 25cf309cba Update RunWorkflowDefinitionConsumer to avoid creating multiple workflows with same correlation 2021-01-21 19:30:13 +01:00
Sipke Schoorstra 4936eda340 Decrease queue worker parallelism and expose triggers 2021-01-21 17:27:42 +01:00
Sipke Schoorstra 64c5f681eb Fix re-scheduling issue with Azure Service Bus messages as input 2021-01-21 15:31:44 +01:00
Sipke Schoorstra e6f42aca8f Update packages 2021-01-21 12:45:10 +01:00
Sipke Schoorstra 1316188d82 Add missing line number and source file arguments for inline activities 2021-01-21 12:11:54 +01:00
Sipke Schoorstra e39d5cdb68 Ensure workflow instance locking when receiving Azure Service Bus messages 2021-01-21 12:11:25 +01:00
Sipke Schoorstra 2a64cc1473 Add continue running workflow startup task 2021-01-19 20:17:14 +01:00
Sipke Schoorstra 860c045e6f Remove unused namespaces 2021-01-19 18:20:05 +01:00
Sipke Schoorstra 2a6d8f9bfe Synchronize Azure Service Bus queue worker based on correlation ID to prevent multiple workflow instances with same correlation ID 2021-01-19 18:19:36 +01:00
Sipke Schoorstra f57b834d36 Fix Azure Service Bus queue worker
This fixes an issue with message / workflow correlation.
2021-01-18 19:52:02 +01:00
Sipke Schoorstra 254ec93263
Fix issues with workflow builder API and Join cleanup of scopes (#577)
* Fixed unique key violation

* Fix builder, descoping from join (loops + ifelse)

* Cleanup Join
2021-01-17 11:55:00 +01:00
Sipke Schoorstra 4ef40c3a4d Update StartAt 2021-01-16 18:50:47 +01:00
Sipke Schoorstra d3196eea22 Cleanup 2021-01-16 12:52:08 +01:00
Sipke Schoorstra 4ebd41cc21 Fix Azure Service Bus queue worker trigger 2021-01-16 12:47:04 +01:00
Sipke Schoorstra 279cb1b08d Fix service bus synchronized access 2021-01-16 12:46:45 +01:00
Sipke Schoorstra 7d576a7ddc Fix Azure Service Bus queue worker 2021-01-15 14:56:31 +01:00
Sipke Schoorstra 84b5d64719 Add workflow instance to logging scope during workflow execution 2021-01-15 14:45:34 +01:00
Sipke Schoorstra 5e7fed05d2 Add OrderBy LastExecuted 2021-01-15 00:11:49 +01:00
Sipke Schoorstra 218bd5a851 Store short file name without path 2021-01-14 23:30:30 +01:00
Sipke Schoorstra fe6aa7d9ff Fix OutcomeBuilder bug 2021-01-14 23:28:08 +01:00
Sipke Schoorstra d468b132b7 Update CompositeActivityBuilderExtensions 2021-01-14 22:19:43 +01:00
Sipke Schoorstra 89dfba8269
Add source file + line number to execution log. (#571)
* Add source and activity type to WorkflowExecutionLogRecord

* Update builder extensions
2021-01-14 21:45:28 +01:00
Sipke Schoorstra 974b3c2df2
Elsa 2.0/faults (#570)
* Update fault API and add stack trace.
2021-01-14 17:15:02 +01:00
Sipke Schoorstra 6b380e86f4 Add support for prefixing queue names 2021-01-14 14:56:09 +01:00
Sipke Schoorstra 02a3df468c Add IfTrue overload 2021-01-13 19:57:49 +01:00
Sipke Schoorstra be53a9f68b Add columns to Workflow Instances list UI 2021-01-13 15:39:32 +01:00
Sipke Schoorstra 2c9ad5e671 Fix if/else activity issue
Fixes an issue where if/else activities whose condition is based on INPUT from the previous activity would fail.
2021-01-13 13:26:56 +01:00