Commit graph

1701 commits

Author SHA1 Message Date
Sipke Schoorstra e51e743d78 Fix workflow instance locking 2021-05-21 14:15:18 +02:00
Sipke Schoorstra bd012d0965 Improve RemoveScheduledTriggers to always try and unschedule timers
This prevents an issue when a custom activity e.g. Sleep dervices from Timer
2021-05-21 13:30:01 +02:00
Sipke Schoorstra b28dfa92ee Add sample project demonstrating signals and JSON based workflows 2021-05-21 12:33:21 +02:00
Sipke Schoorstra 9650962755 Fix SendHttpRequest 2021-05-21 11:51:18 +02:00
Sipke Schoorstra 77dbbad3ca Further workflow journal & workflow instance viewer improvements 2021-05-20 20:57:39 +02:00
Sipke Schoorstra d3a8e74165 Fix critical timer bug
These removed checks were necessary only with the Elsa 1 implementation.
In Elsa 2, they are not only unnecessary, but would potentially cause timers to stop ticking if the scheduler (Quartz or Hangfire) execute the scheduled job *too soon*. This can sometimes happen, in which case the activities would return "cannot execute yet".
In which case the workflow runner simply does nothing.

We could have changed it such that the service responsible for scheduling timer event jobs handles "cannot execute" instances, but it's easier to just remove OnExecute altogether.
2021-05-20 20:56:45 +02:00
Sipke Schoorstra 18c4ed6be0 Activity fault popup enhancements 2021-05-20 19:09:22 +02:00
Sipke Schoorstra c8a0bb32ab Further journal enhancements
#1016
2021-05-20 19:04:55 +02:00
Sipke Schoorstra 1834f5686d Workflow Instance Viewer: Capitalize data items and decrease fault width 2021-05-20 16:11:05 +02:00
Sipke Schoorstra 6d12ec61c1 Do not return unnecessary Done outcome in case of explicitly defined outcomes
Fixes #1018
2021-05-20 15:04:18 +02:00
Sipke Schoorstra ac4ea19413 Update docker launch script 2021-05-20 14:36:42 +02:00
Sipke Schoorstra 246ca1b961 Fix Elsa Dashboard + Server Monolith sample project 2021-05-20 14:08:43 +02:00
Sipke Schoorstra 05ed6a366d Fix Hangfire temporal activities 2021-05-20 13:42:33 +02:00
Sipke Schoorstra 007e28fb47 Workflow viewer improvements 2021-05-20 11:05:52 +02:00
Sipke Schoorstra e724d6030a Incremental work on workflow journal UI 2021-05-20 11:05:52 +02:00
Sipke Schoorstra c1c5673726 Remove unnecessary configuration action
Instead, use e.g. `services.Configure<ApiVersioningOptions>(options => options.UseApiBehavior = false);`
2021-05-20 09:32:46 +02:00
Sipke Schoorstra eabe272b46 Revert previous API Versioning config and instead expose ApiVersioningOptions to allow for UseApiBehavior to be disabled by host 2021-05-19 21:24:00 +02:00
Sipke Schoorstra a6510b242a Introduce API options to customize or disable Api Versioning 2021-05-19 20:58:42 +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
Sipke Schoorstra 9c2b57865e Implement Dispatch Workflow Definition endpoint 2021-05-19 13:34:32 +02:00
Sipke Schoorstra 62236e107e Implemented Execute Workflow Definition endpoint 2021-05-19 13:34:32 +02:00
Sipke Schoorstra d41d58df57 Fix HttpEndpointMiddleware issue with correlation 2021-05-18 21:17:00 +02:00
Sipke Schoorstra 6e71b1d43b Fix workflow instance deletion for Postgres 2021-05-18 19:52:16 +02:00
Sipke Schoorstra af3dcf5a4b Optimize tailwind css assets 2021-05-17 21:50:19 +02:00
Sipke Schoorstra 46259b3014 Update YesSQL provider with support for WorkflowInstanceIdsSpecification 2021-05-17 19:21:15 +02:00
Sipke Schoorstra 6bec7de843 Fix default value of Finish activity 2021-05-17 14:06:53 +02:00
Sipke Schoorstra 2ba95f14bf Fix HttpEndpointMiddleware to pass correct input model
Fixes #994
2021-05-17 13:49:53 +02:00
Sipke Schoorstra 2830dee5f6 Fix initial value bug with multi-line input component
Fixes #995
2021-05-17 13:45:24 +02:00
Sipke Schoorstra 5495185eec Fix default activity property values 2021-05-17 13:12:11 +02:00
Sipke Schoorstra c87e282bc2 Fix task cancellation issues
This fixes an issue where HTTP requests invoking workflows are aborted mid-way when e.g. WriteHttpResponse executes, causing the pipleine to trigger the RequestAborted cancelation token (which is used throughout the request into other services).
2021-05-17 13:11:55 +02:00
Sipke Schoorstra 8e325881a4 Remove test controller 2021-05-17 11:48:48 +02:00
Sipke Schoorstra 49dcd4a624 Implement workaround for EF Core bulk delete operations with Postgres
Fixes #980
2021-05-17 11:35:50 +02:00
Sipke Schoorstra f6e5aea60f Rethrow expression evaluation errors to cause workflow to fault 2021-05-17 10:48:26 +02:00
Sipke Schoorstra 610af50524 Move TokenService registration to core 2021-05-17 10:13:29 +02:00
Sipke Schoorstra a018d86584 Fix HttpRequestMiddleware to select only published workflows 2021-05-16 21:54:14 +02:00
Sipke Schoorstra c7b2426151 Set unique key constraint on Workflow DefinitionId + Version
Fixes #977
2021-05-16 21:46:09 +02:00
Sipke Schoorstra 4cc957b014 Fix css on Correlation ID column 2021-05-16 21:05:34 +02:00
Sipke Schoorstra 6efb2c53c1 Add Correlation ID to workflow instances screen 2021-05-16 21:05:34 +02:00
Sipke Schoorstra 750b6b3a3f Implement async HTTP Endpoint execution 2021-05-16 21:05:34 +02:00
Sipke Schoorstra 899551463e Refactor workflow collection and execution 2021-05-16 21:05:34 +02:00
Sipke Schoorstra f79e696d74 Incremental work on async HTTP workflow execution 2021-05-16 21:05:34 +02:00
Sipke Schoorstra e95e43bf36 Improve workflow signaling 2021-05-15 21:21:47 +02:00
Sipke Schoorstra 5d84fc27ac Update docker files 2021-05-15 20:55:13 +02:00
Sipke Schoorstra b4aa9783eb Update docker files 2021-05-15 20:45:14 +02:00
Sipke Schoorstra eec897fbeb Update docker files 2021-05-15 20:40:00 +02:00
Sipke Schoorstra 830be813f3 Update docker files 2021-05-15 20:39:09 +02:00
Sipke Schoorstra ae70c5150a Update docker files 2021-05-15 12:04:05 +02:00
Sipke Schoorstra 7ae29a4c24 Update docker files 2021-05-15 11:59:57 +02:00