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
Sipke Schoorstra
f65cf6b35e
Fix Join activity not blocking when using WaitAll mode
2021-07-11 12:10:57 +02:00
Sipke Schoorstra
e890c685e1
Improve Finish activity for sending output back to parent
...
This update automatically resolves the output reference (if any) and passes that to the parent instead of the output reference
2021-07-11 12:10:16 +02:00
Sipke Schoorstra
7143e619c0
Update TypedActivityTypeDescriber to honor original capitalization
...
See also: #1234
2021-07-09 20:31:38 +02:00
Sipke Schoorstra
eb378865cc
Breaking behavior! Update OutcomeResult to NOT auto-connect to Done connections
...
This was originally added to support workflows created with the workflow builder API to automatically move on to the next activity. This is discouraged and one should instead always create an explicit connection.
The code being removed was causing a bug where the Done activity would always execute if there was a connection, even though the activity explicitly returned a different outcome.
2021-07-09 19:39:45 +02:00
Sipke Schoorstra
a93f40bfb3
Cleanup some comments
2021-07-09 12:55:41 +02:00
Sipke Schoorstra
ee4536f920
Merge pull request #1229 from GreenShadeZhang/custom_tenantid_source
...
Add ITenantAccessor interface to provide custom ability for acquiring tenantid
2021-07-09 12:49:24 +02:00
Sipke Schoorstra
2592885be1
Merge pull request #1228 from elsa-workflows/final_appsettings_design
...
Refactor appsettings.json #1226
2021-07-09 12:47:18 +02:00
Sipke Schoorstra
7452d16ebe
Fix Finish output serialization recursion
2021-07-09 11:18:26 +02:00