Commit graph

611 commits

Author SHA1 Message Date
Craig Fowler 39485970cf Resolve #777 - Handle 'target type object'
Turns out that this is a quick & cheap fix.
2021-04-26 21:13:14 +02:00
Sipke Schoorstra 26aefe1dde Persist workflow when activity is configured as such 2021-04-26 15:21:04 +02:00
Sipke Schoorstra 7739a65189 Prevent RunWorkflow from executing the workflow it is itself part of 2021-04-26 12:30:44 +02:00
Sipke Schoorstra 27b008fd05 Update WorkflowBlueprint with Tag 2021-04-26 12:30:15 +02:00
Sipke Schoorstra 576a0e50e8 Add Tag property 2021-04-26 10:09:46 +02:00
Sipke Schoorstra 6c5e3b10cc Store activity input, output & outcome as part of execution log and make this visible in UI 2021-04-22 21:20:16 +02:00
Sipke Schoorstra 489750432a Remove Email and UserTask projects from Elsa project 2021-04-21 14:46:17 +02:00
Sipke Schoorstra dff94a057a Fix missing display name and description on activity blueprint model 2021-04-21 14:45:34 +02:00
Sipke Schoorstra ea00bd536a Ensure each startup runner executed in its own scope 2021-04-20 19:43:18 +02:00
Sipke Schoorstra f4e2d4dd5b Add overloads 2021-04-20 19:43:00 +02:00
Sipke Schoorstra 61ccbceb5f Add API endpoint for querying workflow execution log records 2021-04-20 14:19:50 +02:00
Sipke Schoorstra 91bda57411 Rename All specification to Identity 2021-04-20 14:19:25 +02:00
Sipke Schoorstra 33250c9bbd Add EventName property to ActivityExecutionLogRecord (replacing Message property) 2021-04-20 10:31:35 +02:00
Sipke Schoorstra 347c188ab1 Ensure that StartupRunner hosted service is registered before Elsa Options get evaluated
This prevents an issue when the user invokes StartWorkflow<T>, which would register the StartWorkflow<T> hosted service before the StartupRunner hosted service is registered.
The problem with that is that the migrations runner for EF Core executes *after* the StartWorkflow hosted service, which would then fail because the DB isn't prepared at that point.
2021-04-19 13:55:33 +02:00
Sipke Schoorstra 6fc7e2031d Revert 5ed136a41f
Fixes #876
2021-04-19 13:55:33 +02:00
Sipke Schoorstra d9094575fd Remove unused namespaces 2021-04-16 12:48:06 +02:00
Sipke Schoorstra 9ec6f40c90 Add events for activity execution result 2021-04-16 12:47:43 +02:00
Sipke Schoorstra ced11df305 Move activity type provider abstractions to services 2021-04-16 12:46:54 +02:00
Sipke Schoorstra 5ed136a41f Extract auto-Done scheduling to a handler 2021-04-15 21:38:44 +02:00
Sipke Schoorstra 937b861359 Optimize workflow registry loading by only considering older versions for which there are non-finished workflow instances pending 2021-04-15 21:38:10 +02:00
Sipke Schoorstra 18f45fe241 Fix workflow context type nullability 2021-04-15 15:48:04 +02:00
Sipke Schoorstra c1f827cfee Add string to Type converter 2021-04-15 14:39:59 +02:00
Sipke Schoorstra 0dae77db95 Restore Done outcome for If activity 2021-04-14 22:46:32 +02:00
Sipke Schoorstra 5dd2c0be34 Add workflowContext global JS variable 2021-04-13 23:01:49 +02:00
Sipke Schoorstra 2b0565ae66 Move re-indexing of triggers and re-creation of Azure Service Bus workers to an async background task (implemented as Rebus consumers) 2021-04-13 22:05:17 +02:00
Sipke Schoorstra 094eccd572 Implement Switch expression evaluation 2021-04-12 22:29:58 +02:00
Sipke Schoorstra b00eea3c6d Implement Switch UI with multi-expression support 2021-04-12 22:29:58 +02:00
Sipke Schoorstra 7991d4a468 Fix locking bug 2021-04-12 22:29:58 +02:00
Sipke Schoorstra 9709ee6ca2 Implement search 2021-04-09 21:47:44 +02:00
Sipke Schoorstra 4dbee3a7b3 Fix that subscriptions weren't created 2021-04-09 17:46:45 +02:00
Sipke Schoorstra 9defb83ba8 Lock on correlation ID to prevent race condition between incoming events and newly started workflows not yet persisted 2021-04-09 17:46:31 +02:00
Sipke Schoorstra 071b7a2f22 Fix TriggerWorkflows to select only Suspended instances 2021-04-09 16:59:43 +02:00
Sipke Schoorstra f329db3b25 Incremental work on workflow instances list screen 2021-04-08 17:02:58 +02:00
Sipke Schoorstra f074260211 Update DistributedLockProvider to not throw, but return a null handle 2021-04-08 14:53:15 +02:00
Sipke Schoorstra a0d345bebd Fix timing issue of workflow resumption by always storing new workflow instances before executing 2021-04-07 21:07:00 +02:00
Sipke Schoorstra 52cd21d0ff Fix distributed lock extensions 2021-04-07 15:36:08 +02:00
Sipke Schoorstra ae46e0e143 Update packages and accommodate for breaking changes 2021-04-07 14:48:30 +02:00
Sipke Schoorstra bbbb8a40f4 Fix activity type access bug 2021-04-07 13:13:13 +02:00
Sipke Schoorstra ce957b95e7 Cleanup 2021-04-07 13:13:13 +02:00
Sipke Schoorstra df6ad74eec Replace custom distributed locking implementation with DistributedLock
https://github.com/madelson/DistributedLock
2021-04-07 13:13:13 +02:00
Sipke Schoorstra 4511237a35 Fix deadlocks 2021-04-06 21:45:50 +02:00
Sipke Schoorstra dd82c2f96f Use the mediator for triggering workflows synchronously 2021-04-06 21:43:49 +02:00
Sipke Schoorstra 727191c0e8 Incremental work on dashboard 2021-04-05 21:04:55 +02:00
Sipke Schoorstra aabf9ff2c2 Configure primitive activities 2021-04-04 15:37:28 +02:00
Sipke Schoorstra e2118a1135 Update expression evaluators to get merged variables 2021-04-04 15:37:28 +02:00
Sipke Schoorstra cebb57caaa Configure control flow activities 2021-04-04 15:37:28 +02:00
Sipke Schoorstra 299b871c50 Formatting 2021-04-04 15:37:28 +02:00
Sipke Schoorstra 35248ef43f Require explicit syntax for getting expression 2021-04-04 15:37:28 +02:00
Sipke Schoorstra 4611ef2e08 Add convenience SyntaxNames class with commonly used syntax names 2021-04-04 15:37:28 +02:00
Sipke Schoorstra 09892074bb Add Default Syntax and Supported Syntax activity property attributes 2021-04-04 15:37:28 +02:00