Commit graph

829 commits

Author SHA1 Message Date
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
Sipke Schoorstra 8e97f7ae79 Refactor quartz job scheduler into async background service
When a system has many suspended workflows, it takes a long time for Quartz to schedule each trigger, blocking application startup.
Moving this logic to a hosted service allows this process to happen in the background, not blocking startup
2021-07-09 11:17:58 +02:00
axeleron007 cb8e398a8f Refactoring and comments added
Refactoring and comments added
2021-07-09 10:13:15 +03:00
GreenShade 89240939ba Let the signaler return to the previous state and adjust it in the future. Update the sample code. 2021-07-08 20:36:47 +08:00
axeleron007 6f1b479ffc Code clean up
Code clean up
2021-07-08 15:32:28 +03:00
axeleron007 b2f6f093ac Permutations for all feature key/values added
Permutations for all feature key/values except Enabled and Options added
2021-07-08 15:31:01 +03:00
axeleron007 b0a57eb148 Code refactoring
Code refactoring
2021-07-08 13:22:49 +03:00
GreenShade 1cdd49b39b Mainly add the ability of tenantid customization for API projects, and add sample projects 2021-07-07 22:36:54 +08:00
axeleron007 ab121e10ad Refactor appsettings.json #1226
Refactor appsettings.json #1226
2021-07-07 16:13:32 +03:00
Sipke Schoorstra 88bc022140 Normalize signal names (ignore case) 2021-07-06 20:43:42 +02:00
Sipke Schoorstra 3e6abc8b30 Make linq 2021-07-06 16:08:22 +02:00
axeleron007 4fcf541d4d Some Sipkes' suggested improvements
Some Sipkes' suggested improvements
2021-07-06 16:59:35 +03:00