Commit graph

614 commits

Author SHA1 Message Date
Sipke Schoorstra 67c230a2af Resolve warnings 2021-06-19 11:51:06 +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 5f1baedc7e Add branch parameter to Add builder method 2021-06-18 21:20:05 +02:00
axeleron007 bb313ec95a Setup Elsa Server project with Features #1032
code clean up
2021-06-18 16:53:10 +03:00
axeleron007 eb388caed1 Setup Elsa Server project with Features #1032
Setup Elsa Server project with Features.
2021-06-18 16:22:57 +03:00
Sipke Schoorstra 97a9619fad Add support for email attachments 2021-06-16 17:03:06 +02:00
Sipke Schoorstra 618f4e837c Implement Blob Storage Workflow Provider 2021-06-16 08:57:19 +02:00
Sipke Schoorstra c6a32d49e4 Restore input to be made part of scheduled activities for flowing data
This restores ForEach, ParallelForEach and certain Telnyx activities' functionality, but also sets back the ability to keep input/output entirely outside of the workflow when desired.
More work required to persist scheduled activity output using the workflow storage provider API
2021-06-15 13:01:31 +02:00
Sipke Schoorstra d5340ced42 Use explicit provider names 2021-06-14 14:10:03 +02:00
Sipke Schoorstra d787ca34ca Update Workflow builder API with support for property storage providers 2021-06-14 14:10:03 +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 9a01aefe17 Add support for webhook triggers 2021-06-09 18:08:22 +02:00
Sipke Schoorstra a33cb1bc88 Implement scoped naming for composite activity children
Fixes #1071
2021-06-08 21:11:55 +02:00
Sipke Schoorstra 757a2f566f Refactor activity state serialization to support property types typed as object 2021-06-07 22:04:36 +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 24e378ebfc Add State activity to model finite state machines 2021-06-06 20:21:58 +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 ec172d98c1 Remove activity state from execution log to prevent large record sizes 2021-06-05 12:58:30 +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 44d756241a Remove redundant locking 2021-06-02 14:14:45 +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 b6f165cc95 Turning some Telnyx activities into "jobs" (blocking actions) 2021-06-01 22:27:14 +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 79131e2dde Introduce NonPersistableAttribute to control what gets persisted in state 2021-05-31 19:50:42 +02:00
Sipke Schoorstra df8d85f183 Update ActivityPropertyUIHintResolver to use renamed ActivityInputUIHints 2021-05-31 10:18:22 +02:00
Sipke Schoorstra 3d623b94e1 Improve bookmarking API and add Event Received activity 2021-05-31 10:01:33 +02:00
Sipke Schoorstra 589cab520b Add Conductor project and SendCommand activity 2021-05-31 10:01:33 +02:00
Sipke Schoorstra 0f8a0e9f3d Implement support for activity property ordering
Closes #884
2021-05-30 13:51:14 +02:00
Sipke Schoorstra 16c93e15c5 Add support for dynamic outcome provider
Fixes #873
2021-05-30 13:27:42 +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 68e5be0159 Fix issue with SwitchHandler and Switch display on workflow blueprint viewer when using expressions that cannot be evaluated 2021-05-28 20:21:45 +02:00
Sipke Schoorstra 4932dbec2a Update activity property evaluation to store computed value as part of workflow instance state
This allows bookmarking to be optimized and fixes the issue when the system needs to access an activity's property from a workflow isntance without having to re-evaluate the property value provider which may be impossible to do since there is no context.
A potential downside is increased workflow instance size, but this needs to be resolved as part of #898
2021-05-28 13:07:44 +02:00
Sipke Schoorstra 0b10faad92 Add DataProtection default service and update broken samples 2021-05-25 12:12:36 +02:00
Sipke Schoorstra bb4ff3b714 Update packages 2021-05-25 09:57:17 +02:00
Sipke Schoorstra 326e373491 Change log level severity 2021-05-24 14:32:30 +02:00
Sipke Schoorstra 030634643c WIP 2021-05-24 11:25:42 +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