Commit graph

848 commits

Author SHA1 Message Date
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
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 179012475a Add Filtered Call Initiated activity for Telnyx 2021-08-09 12:32:51 +02:00
Sipke Schoorstra 4c0e442ae1 Update ActivityDescriptor.cs 2021-08-09 10:50:27 +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
Sipke Schoorstra 2e09e675c3 Update ExecuteWorkflowInstanceRequestConsumer.cs
Fix input type double wrap
2021-08-04 20:56:52 +02:00
Sipke Schoorstra c344de324c Fix RunWorkflow resumption when child completes synchronously
Fixes #1347
2021-08-04 18:39:59 +02:00
Sipke Schoorstra 97b2cbfde4 Improve type conversion error message 2021-08-04 15:12:38 +02:00
Sipke Schoorstra 90bbc37808 Fix incorrect scope eviction
Fixes an issue where the wrong scope would be evicted.
2021-08-04 13:46:27 +02:00
Sipke Schoorstra c892a11de7 Update ActivityActivator to use default storage provider 2021-07-31 12:54:46 +02:00
Sipke Schoorstra 2c3935f0e0 Add support for specifying default workflow storage providers per activity property
Fixes #1254
2021-07-31 12:54:46 +02:00
Sipke Schoorstra 15743c4396 Refactor StorageStorage.net usage to allow different configurations 2021-07-31 12:54:46 +02:00
Sipke Schoorstra b138061661
Reuse certain queues for certain event types (#1317) 2021-07-27 21:47:30 +02:00
Rafael Carnucci e316ca6c80 Added TenantId in IStartsWorkflow.StartWorkflowAsync and IWorkflowFactory.InstantiateAsync 2021-07-26 19:38:47 +02:00
Sipke Schoorstra 7479ff1210 Prevent custom composite activities from overriding values specified by the activity definition
This particularly fixes the issue where a composite activity can potentially specify its own activity ID, which would break the workflow since the activity definition ID (as generated by the designer) would be different.
2021-07-26 13:10:41 +02:00
Sipke Schoorstra d3143d800e Remove unimplemented dynamic-list UI hint 2021-07-25 14:13:31 +02:00
Sipke Schoorstra 11de05173e Add API support for querying workflow instances by correlation ID 2021-07-24 13:24:25 +02:00
Sipke Schoorstra e55b2fbf60 Only evaluate designer-critical properties.
Fixes #1163
2021-07-24 11:59:56 +02:00
Sipke Schoorstra 472358f9e7 Introduce designer-critical properties 2021-07-24 11:59:56 +02:00
Sipke Schoorstra 641c6f9257 Add CorrelationIds query specification 2021-07-23 16:18:17 +02:00
Sipke Schoorstra 229f6cddaa Select first activity as start activity when no root activity could be determined 2021-07-23 10:42:58 +02:00
Sipke Schoorstra 42e95033cf
BREAKING: Persistable input (#1302)
* Implement resuming Idle workflows + persistable input

* Refactor workflow input model

* Re-enable tests
2021-07-22 22:13:33 +02:00
Sipke Schoorstra 7f0cf7e1fe Evict activity type cache upon webhook definition created or updated 2021-07-21 12:40:42 +02:00
Sipke Schoorstra fcf124bda0 Add IsBrowsable metadata
This enables developers to control what properties are visible in the activity picker
2021-07-20 17:08:15 +02:00
Sipke Schoorstra 1ad11e6f05 Get default value when getting activity property value 2021-07-20 17:07:24 +02:00
Sipke Schoorstra 4f96f9d0c4 Allow multiple calls to AddHttpActivities 2021-07-20 16:04:00 +02:00
Sipke Schoorstra 781680abfe Return context ID after save
Fixes #1271
2021-07-16 16:14:50 +02:00
Sipke Schoorstra 874dca1b02 Make activityId optional 2021-07-16 12:34:10 +02:00
Sipke Schoorstra a42df38f6e
Merge pull request #1261 from dcamarenaAZO/patch-1
fix: Reset IsLatest also for not published workflows on PublishAsync
2021-07-14 17:16:59 +02:00
Sipke Schoorstra e3120e9329 Fix CompositeActivityBlueprint initialization
This fixes an issue where one could not use nested composite activities when used from the designer
2021-07-14 14:59:38 +02:00
dcamarenaAZO 197db28702
fix: Reset IsLatest also for not published workflows on PublishAsync
When an unpublished workflow is published, IsLatest is not set to false because the PublishAsync method was only looking for published workflows.
2021-07-14 07:45:26 +02:00
Sipke Schoorstra 5ae4609165 Fix StartupTask DI registration 2021-07-13 13:27:45 +02:00
Sipke Schoorstra cbfb21c4c9 Remove redundant Trigger parameter from workflow selection 2021-07-12 19:37:01 +02:00
Sipke Schoorstra 0850f0ac48 Fix that workflows blocked on a signal could not be resumed with just correlation ID 2021-07-12 19:24:51 +02:00
Sipke Schoorstra e25170451b Register IConfiguration if not present
Fixes #1242
2021-07-12 13:03:26 +02:00
Sipke Schoorstra e3f62fc8ea Move Correlate activity to correct folder 2021-07-11 14:18:26 +02:00