Commit graph

797 commits

Author SHA1 Message Date
solutionmania 1f014c9264
Corrected behaviour of 'For' activity. (#4497)
* Add 'Auto Step Direction' option to 'For' activity.

* Adjusted 'For' behaviour to be more consistent with generally expected behaviour.
2023-10-07 23:31:16 +02:00
jeanbaptistedalle 7547708603
Feature/postgresql efcore (#4500)
* Create the extension to enable efcore for postgresql with workflow-runtime

* Create a efcore postgresql samples to check extensions

---------

Co-authored-by: Jean-Baptiste Dalle <jean-baptiste.dalle@stereograph.fr>
2023-10-07 23:24:56 +02:00
Sipke Schoorstra 523f301bf7
Feature: Alterations (#4501)
* Implement Alteration types and engine

* Implement Alteration APIs

* Refactor activity work item with support for activity input

* Serialize scheduled activities as part of workflow state

* Add signal to schedule child activity

* Implement stores for plans and jobs

* Add EF Core provider

* Add Retry endpoint

* Keep root context as always active. The root context is the workflow execution context and contains persistent variable state

* Regenerate EF Core migrations

* Handle orphaned activity execution contexts

* Refactor workflow execution factory

* Enable configuring Jint from Program

* Update ModifyVariable alteration with support for type deserialization

* Use ShortGuid for identity

* Cleanup WorkflowServer host
2023-10-07 12:47:36 +02:00
Sipke Schoorstra 8025edfbe3 Update programmatic Document Approval workflow sample 2023-09-25 10:31:00 +02:00
Sipke Schoorstra b5cdb8d770 Incremental fixes 2023-09-25 00:55:29 +02:00
Sipke Schoorstra 713ccc63f3 Add XML comments 2023-09-24 12:38:06 +02:00
Sipke Schoorstra da34e23c2b
Add DropIn support (#4471)
* Implemented dynamic loading of activities at runtime

* Add support for loading NuGet packages
2023-09-23 19:41:37 +02:00
Sipke Schoorstra edc2335d82 Add initial version of Document Approval sample from Elsa 2 2023-09-21 00:05:50 +02:00
Sipke Schoorstra 89f94a2261
File Uploads (#4457)
* Initial support for receiving files via HTTP Endpoint activity

* Implement HTTP endpoint request timeout

* Implement request time out handling

* Implement request size validation

* Formatting

* Implement application and system level cancellation tokens

* Create CancellationTokens struct

* Cleanup HttpEndpoint

* Implement file size validation

* Implement file extension validation

* Implement mime type validation

* Update usages of cancellation tokens
2023-09-19 22:42:53 +02:00
Sipke Schoorstra 73326bb228 Fix HTTP request console sample project
Fixes #4261
2023-09-09 22:35:41 +02:00
Sipke Schoorstra 2d61569cab Add parent/child workflow programmatic ASP.NET sample 2023-09-09 16:54:27 +02:00
Sipke Schoorstra 11df71eecd Remove Sinks module 2023-09-07 22:03:03 +02:00
Sipke Schoorstra 45d194125d
Remove WorkflowStateStore (#4374)
* Remove WorkflowStateStore and use WorkflowInstanceStore instead

* Delete RunningWorkflows actor

* Cleanup
2023-08-30 15:42:16 +02:00
Sipke Schoorstra e2c3ab0efd
Refactor proto files and fix snapshot loading of running workflows grain (#4371) 2023-08-29 23:29:31 +02:00
Sipke Schoorstra b3e0c0064c Fix sample and test 2023-08-28 22:44:43 +02:00
Sipke Schoorstra ca25b78457
Fix Break behavior (#4365)
* Fix Break behavior

* Ensure removal of completion callbacks
2023-08-26 01:11:10 +02:00
Sipke Schoorstra 3ba6a548e1
Update ForEach activity with local variables (#4315)
* Update ForEach activity with local variables

* Add option to include activity instance ID as part of bookmark hash
2023-08-11 21:59:39 +02:00
Sipke Schoorstra 166e11c416
Fix loss of source file + line number (#4293)
Fixes #4287
2023-08-06 20:55:24 +02:00
gurkanguran 90e560bc73
Redis proto cluster member store (#4241)
* Implemented redis as a proto cluster member store

* Added component tests for redis protocluster member store

---------

Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2023-07-14 19:29:43 +02:00
Sipke Schoorstra 94904160a9 Add dynamic activity provider sample project 2023-07-13 16:24:34 +02:00
Sipke Schoorstra 9671d85013 Cleanup namespaces 2023-07-09 14:02:41 +02:00
Sipke Schoorstra fe2a897a30 Restructure models in Workflows.Core 2023-07-09 13:12:13 +02:00
Sipke Schoorstra 816a6f3f8e Add MongoDB sample project 2023-06-29 12:27:21 +02:00
gurkanguran f0814f4f64
Fixes the issue with httpendoint not being suspended #4143 (#4171)
* Fixes the issue with httpendoint not being suspended #4143

* Simplify HttpEndpoint and bookmark processor

* Fix issue with null workflow state ID

* Remove implicit instalment of EF Core provider for Trigger and Bookmark store

---------

Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2023-06-28 20:55:57 +02:00
herblinernexxbizz 8c308cc8ee
V3 make workflowdefinition have readonly (#4068)
* add readonly functionality to Elsa

* merge with v3

* remove launch settings

* remove spaces

* Handle merge conflicts

* Exclude non-existent folder from sample project

---------

Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2023-06-12 10:41:38 +02:00
Sipke Schoorstra 04fe32cabb
Implement activity output APIs (#4119) 2023-06-09 22:10:56 +02:00
Sipke Schoorstra 3eb22cbf30 Correct namespace in sample project 2023-06-09 10:13:26 +02:00
Sipke Schoorstra ad21245370 Rename sample projects 2023-06-08 12:01:26 +02:00
Sipke Schoorstra c216185c5e
Update Workflow model with support for Inputs, Outputs and Outcomes (#4112)
* Fix mutable prop changes warning

* Fix graph no longer scrolling to content

* Remove unused namespace imports

* Update Workflow model with support for input, output and outcomes

* Update sample with EF core persistence

* Rename FluentStorage to BlobStorage
2023-06-08 11:39:19 +02:00
Sipke Schoorstra ae34a7a537
Implement Dapper for Identity (#4110) 2023-06-06 21:43:53 +02:00
Sipke Schoorstra 6c1cca372c
Dapper persistence provider (#4109)
* Implement Dapper stores
2023-06-06 20:49:14 +02:00
Sipke Schoorstra 0bb2ddcfee
Support sub-workflow dependency handling of JSON workflows (#4098)
* Change "Usable as Activity" setting into checkbox

* Update client model

* Update query to use shadow property

* Update UsableAsActivity usages

* Implement staged provisioning of workflows

* Add tests

* Update migrations
2023-06-03 12:28:10 +02:00
Sipke Schoorstra 6449969604 Fix workflow memory issues 2023-05-30 23:00:52 +02:00
Sipke Schoorstra 71e55ea999 Update Quartz scheduler to only schedule once 2023-05-30 21:52:31 +02:00
Sipke Schoorstra 005c0eb6ec Update HttpEndpoints sample project 2023-05-30 20:14:18 +02:00
Sipke Schoorstra 607aba1943 Fix identity assignment 2023-05-28 18:35:45 +02:00
Sipke Schoorstra 8d8a8679f7 Ad XML comments 2023-05-28 16:40:10 +02:00
Sipke Schoorstra c99280b792 Add methods to add multiple workflows from a given assembly 2023-05-28 16:20:16 +02:00
Sipke Schoorstra 6f455f7e70
Update DSL implementation and integration (#4073) 2023-05-28 11:54:12 +02:00
Sipke Schoorstra bc21ccda95 Restore ElsaStudio component and update custom element usages 2023-05-22 12:38:19 +02:00
Sipke Schoorstra ad44becbda Rename environment model 2023-05-16 19:09:09 +02:00
Sipke Schoorstra 8315b26de9 Fix composition sample 2023-05-16 11:41:41 +02:00
Sipke Schoorstra e25d32ff62 Add HTTP Endpoints sample project 2023-05-11 22:59:46 +02:00
Sipke Schoorstra 47ed8e3571
Cleanup IActivity interface (#4010)
* Update activity names and descriptions

* Rename JS functions

* Make endpoint class internal

* Pre-create workflow instance ID when dispatching workflows
2023-05-08 22:38:59 +02:00
Sipke Schoorstra 4112fbfc9a
ACA cluster provider support for multiple images + pluggable member store (#3981)
* Decouple ACA cluster provider storage

* Add readme
2023-04-30 22:25:40 +02:00
Sipke Schoorstra 7d713d81a3 Add support for default activity input 2023-04-28 22:41:18 +02:00
Sipke Schoorstra f3b45d3200 Update comment 2023-04-27 15:30:58 +02:00
Sipke Schoorstra 6bea19ef00 Fix workflow server and designer sample project 2023-04-26 14:41:12 +02:00
Sipke Schoorstra cdef7d409d Update input JSON converter to also read its ID 2023-04-25 22:39:56 +02:00
Sipke Schoorstra 0ea463fdd0
Add JSON workflow provider (#3955)
* Refactor import models

* Update API endpoints

* Add console sample to run workflow from JSON

* Add FluentStorage provider for JSON workflows + sample
2023-04-25 22:15:11 +02:00