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
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
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
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
cbfb21c4c9
Remove redundant Trigger parameter from workflow selection
2021-07-12 19:37:01 +02:00
Sipke Schoorstra
7143e619c0
Update TypedActivityTypeDescriber to honor original capitalization
...
See also: #1234
2021-07-09 20:31:38 +02: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
Sipke Schoorstra
88bc022140
Normalize signal names (ignore case)
2021-07-06 20:43:42 +02:00
Sipke Schoorstra
a0ade4a984
Fix rebus message type queue mixup
2021-07-01 12:18:41 +02:00
Sipke Schoorstra
2090389637
Consolidate PendingWorkflow and StartedWorkflow into single CollectedWorkflow
2021-06-29 23:08:52 +02:00
Sipke Schoorstra
afeda9dba0
Make Trigger bookmark optional and default to Bookmark
2021-06-29 21:04:28 +02:00
Sipke Schoorstra
d49bbd61ea
Remove unused namespaces
2021-06-28 22:38:23 +02:00
Sipke Schoorstra
a3fd1a31af
Implement workflow priority channels
2021-06-28 22:38:05 +02:00
Sipke Schoorstra
7a76323c81
Ensure parent of composite activities is set
2021-06-21 15:53:55 +02:00
Sipke Schoorstra
6e2601ec18
Fix CachingWorkflowRegistry to use cached workflow blueprints
2021-06-21 14:42:35 +02:00
Sipke Schoorstra
980af069b9
Update WorkflowTriggerInterruptor to use bookmarks instead of BlockingActivityTypeSpecification
...
Fixes #1072
2021-06-20 13:55:25 +02:00
Sipke Schoorstra
63113d31d7
Add various Startups
...
Note that this is a work in progress. Not all modules have startups yet.
2021-06-19 20:19:05 +02:00
Sipke Schoorstra
b506421ba5
Merge branch 'master' into webhook/url-management
...
# Conflicts:
# src/activities/Elsa.Activities.Webhooks/Elsa.Activities.Webhooks.csproj
# src/designer/elsa-workflows-studio/package-lock.json
# src/designer/elsa-workflows-studio/src/components/editors/elsa-multi-expression-editor/elsa-multi-expression-editor.tsx
# src/designer/elsa-workflows-studio/src/services/elsa-client.ts
# src/samples/server/Elsa.Samples.Server.Host/Startup.cs
2021-06-19 10:20:24 +02:00
Sipke Schoorstra
f67140f7e2
Cleanup
2021-06-14 14:10:03 +02:00
Sipke Schoorstra
9ec82d9293
Refactor Output handling
2021-06-14 14:10:03 +02:00
Sipke Schoorstra
1db05d3b0b
Update models and UI to support configurable activity output storage
2021-06-14 14:10:03 +02:00
Sipke Schoorstra
332741d54f
Implement pluggable storage for activity input and output properties
2021-06-14 14:10:03 +02:00
Sipke Schoorstra
6a49f7a991
Stash input output storage
2021-06-14 14:10:03 +02:00
Sipke Schoorstra
0c79bac321
Updated some namespaces
2021-06-14 14:10:03 +02:00
Sipke Schoorstra
8a18a85e26
Organize folder structure a bit more
2021-06-14 14:10:03 +02:00
Sipke Schoorstra
c5facf0ff5
Organize folder structure a bit
2021-06-14 14:10:03 +02:00
Sipke Schoorstra
ea40ad1121
More correlation fixes
2021-06-07 15:21:36 +02:00
Sipke Schoorstra
26bf218da6
Fix WorkflowLaunchpad correlation locking
...
This fixes an issue where there was a brief moment of opportunity for callers to create duplicate workflow instances.
It also fixes duplicate workflow instances by not only querying for suspended workflows, but any other "unfinished" state workflows
2021-06-07 13:11:47 +02:00
Sipke Schoorstra
2d12b5c516
Fix distributed deadlock
2021-06-05 12:59:18 +02:00
Sipke Schoorstra
0552d89f19
Ensure activity property values are restored from activity state before executing/resuming
2021-06-05 12:59:04 +02:00
Sipke Schoorstra
97df3b7bc7
Acquire lock on correlation ID when dispatching new workflows
...
This fixes a race condition between initial workflow execution that e.g. sends a message to a topic, which is then handled by the same workflow later on.
But if that message is delivered too soon (before the workflow got persisted & indexed), then the message consumer won't be able to find the workflow.
Acquiring a lock on the correlation ID fixes this by synchronizing access to that resource
2021-06-03 14:02:07 +02:00
Sipke Schoorstra
cdaa105f3e
Cleanup + comments
2021-06-02 14:00:56 +02:00
Sipke Schoorstra
93e80b5248
Fix race condition between finding bookmarks and indexing workflows
2021-06-02 13:54:39 +02:00
Sipke Schoorstra
05c7973057
Fix that property setters have access to ambient activity execution
...
This is necessary for composite components
2021-05-31 19:51:56 +02:00
Sipke Schoorstra
d033b56d29
Increase javascript intellisense coverage
2021-05-30 12:51:58 +02:00
Sipke Schoorstra
58af0c7ca0
Rename ActivityPropertyAttribute to ActivityInputAttribute
2021-05-30 12:51:58 +02:00
Sipke Schoorstra
326e373491
Change log level severity
2021-05-24 14:32:30 +02:00
Sipke Schoorstra
7814be98b3
Remove unused namespaces
2021-05-23 20:38:12 +02:00
Sipke Schoorstra
a79e065ee4
Fix that workflow registry is updated also after deleting workflow definitions
2021-05-23 20:33:58 +02:00
Sipke Schoorstra
b5453b23a2
Add support for pub-sub consumers and implement Rebus distributed cache signaling
2021-05-22 14:11:35 +02:00
Sipke Schoorstra
01839b19e5
Fix race condition with bookmark querying and updating
...
Fixes #965
2021-05-21 21:39:16 +02:00
Sipke Schoorstra
e51e743d78
Fix workflow instance locking
2021-05-21 14:15:18 +02:00
Sipke Schoorstra
007e28fb47
Workflow viewer improvements
2021-05-20 11:05:52 +02:00
Sipke Schoorstra
f80c0e1716
Implement signals dispatch & execute endpoints
2021-05-19 13:34:32 +02:00
Sipke Schoorstra
e4f4375520
Implement workflow trigger dispatch & execute endpoints
2021-05-19 13:34:32 +02:00
Sipke Schoorstra
911b933cd5
Implement Execute and Dispatch Workflow Instance endpoint
2021-05-19 13:34:32 +02:00