Commit graph

163 commits

Author SHA1 Message Date
Sipke Schoorstra 03b608410b
Incidents (#4436)
* Implement Incident Strategy interface and resolver

* Add ActivityIncident model

* Add IncidentCount and Incidents properties and update migrations

* Expose incident strategies API endpoint

* Update API client with Incident Strategy models

* Replace Fault with Incidents

* Register fault status when any children have faulted

* Map incident count

* Remove unnecessary AlreadyCompleted result

* Ensure next activities are scheduled only if activity completed normally

* Incident roundtrip and fix workflow instance realtime updates

* Remove unused variable

* Add integration tests
2023-09-14 10:50:02 +02:00
Sipke Schoorstra 30d48351e2 Update namespace of notification 2023-09-07 22:27:27 +02:00
Sipke Schoorstra fe02011c8b
Fix Dapper persistence provider (#4381) 2023-08-30 22:01:25 +02:00
yspanj 2c014a9524
Fixed IsNameUnique for InMemory WorkflowDefinition store (#4370) 2023-08-29 23:29:57 +02:00
Sipke Schoorstra b829a0acef Update Event Trigger endpoint to resume HTTP bookmarks 2023-08-12 21:58:15 +02:00
Sipke Schoorstra a2b587d0d1 Order workflow definitions by name by default 2023-08-12 21:09:24 +02:00
RuslanSay a0bc324b83
V3 improve dispatch endpoint (#4317)
* add versionOptions to Dispatch endpoint

* Add DispatchWorkflow API client
2023-08-11 22:59:51 +02:00
Sipke Schoorstra 95cefe631f
Bookmarks & Activity Instances (#4301)
* Add ActivityInstanceId to bookmark model

* Fix Telnyx activity resumption

* Fix missing activity instance ID forwarding to workflow inbox
2023-08-09 13:02:20 +02:00
Sipke Schoorstra 166e11c416
Fix loss of source file + line number (#4293)
Fixes #4287
2023-08-06 20:55:24 +02:00
Sipke Schoorstra 0c8bbb935c Implement real time workflow update broadcasting using SignalR 2023-07-25 15:12:27 +02:00
Sipke Schoorstra abd4779a74 Add ExecuteWorkflow API client 2023-07-24 11:06:27 +02:00
Sipke Schoorstra 9403e2cf32 Update UpdatedAt field 2023-07-24 10:15:27 +02:00
Sipke Schoorstra e5e34c821b Add ActivityExecutionRecord entity, persistence and endpoints 2023-07-22 21:05:33 +02:00
Sipke Schoorstra d473f2354b Add ActivityName to execution log, remove FaultedAt instance timestamp 2023-07-21 17:52:52 +02:00
Sipke Schoorstra 1902307cf5 Add support for filtering journal by activity IDs 2023-07-20 22:12:45 +02:00
Sipke Schoorstra b57ed25a53 Implement auto update consuming workflows 2023-07-20 14:47:12 +02:00
Sipke Schoorstra bdc7ffae96 Update running workflow counter when deleting workflow instances 2023-07-20 13:10:03 +02:00
Sipke Schoorstra 8652843f48 Implement schedule deletion when workflow instances are deleted 2023-07-20 11:57:20 +02:00
Sipke Schoorstra 72f4461ca3 Implement cascading deletion 2023-07-20 00:05:43 +02:00
Sipke Schoorstra 07c9783363 Implement API to delete specific workflow definition version 2023-07-18 22:33:59 +02:00
Sipke Schoorstra 6ae59f06d6 Include activity version with execution log 2023-07-18 11:20:00 +02:00
gurkanguran c11aa6cf5f
Implemented workflow validation for httpendpoint path (#4181)
* Validates HttpEndpoint path before publishing workflow

* Updated behaviour of mediator apis and implemented validation for workflow path

* Implement default strategy option

* Update mediator service names

* Return validation errors as 400 BadRequest

---------

Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2023-07-14 19:19:41 +02:00
Sipke Schoorstra 4d9ef959d4 Add paging support for skip + take format 2023-07-10 16:10:00 +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 8c701aa0a7 Implement activity execution log record sequence ordering
This ensures events are always stored in sequence, even if their timestamps are the same.
2023-07-09 12:36:33 +02:00
Sipke Schoorstra 760b925e2a Add ability to sort on multiple fields 2023-07-09 12:35:48 +02:00
Sipke Schoorstra 7e0d7d825e Implement workflow instances filtering by multiple statuses 2023-07-07 20:47:04 +02:00
Sipke Schoorstra fa4943a068 Add support for listing workflow instances by multiple definition IDs 2023-07-07 19:06:39 +02:00
Sipke Schoorstra 8bf20732be Restructure folders in API client and add WorkflowInstances API client 2023-07-07 13:53:44 +02:00
Sipke Schoorstra 0eea344406 Add ToolVersion field to workflow definition 2023-07-06 15:48:28 +02:00
Sipke Schoorstra 259785144c Add endpoint to get workflow definition by ID 2023-07-06 14:20:36 +02:00
Sipke Schoorstra fdf71a4141 Add order by version API and update client 2023-07-05 22:26:43 +02:00
Sipke Schoorstra 4c2ae330f2 Add (bulk) publish/retract ops to API client 2023-07-04 10:01:01 +02:00
Sipke Schoorstra 9971f94fb8 Update bulk publish APIs and clients 2023-07-03 22:55:21 +02:00
Sipke Schoorstra 143fbefd55 Add API client for variable types and storage drivers 2023-07-01 22:18:04 +02:00
Sipke Schoorstra 10d4af3db1 Make Delete endpoint internal 2023-07-01 11:38:20 +02:00
Sipke Schoorstra ab4f28bc02 Add unique name query to workflow definition store 2023-06-30 20:56:37 +02:00
Sipke Schoorstra eabe853fe7 Add workflow definition count endpoint + unique name validation 2023-06-29 22:08:10 +02:00
Sipke Schoorstra d1a3925565 Make endpoint models internal 2023-06-19 15:31:56 +02:00
herblinernexxbizz 3aa05d1fed
V3 search workflows definitions and instances (#4123)
* search workflowdefinition

* filter workflowinstance

* also add version options

* initiate search field

* add search to workflowinstance

* extend search with description and definitionversionid

* make everything work for workflow definition and instance search
2023-06-12 10:44:33 +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 144d9d0aa4 Update Elsa API Client with ActivityDescriptors API 2023-06-10 15:33:32 +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 6578d9b74f Fix auth on typescript definitions endpoint 2023-06-07 22:53:34 +02:00
Sipke Schoorstra 6c1cca372c
Dapper persistence provider (#4109)
* Implement Dapper stores
2023-06-06 20:49:14 +02:00
herblinernexxbizz 1f7df0efcd
make it so you can start a specific version of a workflow (#4103) 2023-06-05 14:17:02 +02:00
Sipke Schoorstra d789676043 Fix null options 2023-06-03 20:36:07 +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 6f455f7e70
Update DSL implementation and integration (#4073) 2023-05-28 11:54:12 +02:00