Commit graph

3374 commits

Author SHA1 Message Date
Sipke Schoorstra e6536636d7
Additional samples + fixes and improvements (#3574)
* Incremental work on samples

* Rename HTTP middleware and update samples

* Rename HTTP Activities to Workflows

* Automatically register core activities when adding Elsa

* Fix feature registration bug

* Add default auth feature

* Make activity serializer more flexible

* Bump designer version

* Add workflow server + designer samples

* Simplify EntityFrameworkCore projects

* Update solution

* Add Sqlite package references to ensure the correct version is used

* Update sample project with EF Core

* Update EF extensions

* Add server + designer sample project

* Cleanup AllInOne project and add some XML comments

* Rename ci.yml and add CI for Docker file
2022-12-30 13:11:29 +01:00
Sipke Schoorstra b3a6c6d80e Fix CI attempt 3 2022-12-28 15:08:21 +01:00
Sipke Schoorstra 687ddf4a12 Fix CI attempt 2 2022-12-28 15:00:43 +01:00
Sipke Schoorstra e787346a36 Fix CI attempt 2022-12-28 14:53:43 +01:00
Sipke Schoorstra bca0999c1d
Update GitHub workflow to connect to Azure DevOps (#3570) 2022-12-28 14:03:52 +01:00
Sipke Schoorstra 9f9c20f553
Add support for workflows as a function (#3569)
* Add support for converting lists of things

* Add support for workflows returning a result

* Formatting

* Fix that While would complete twice

* Add convenience methods to access workflow input

* Schedule the workflow itself instead of just its root

* Add Output dictionary to workflow execution context

* Ad samples to demonstrate workflows returning results
2022-12-28 13:59:46 +01:00
Sipke Schoorstra c08ff4a31a Merge branch '24953' into v3 2022-12-26 21:01:22 +01:00
Sipke Schoorstra c514f7bf5c Re-apply Elsa icon 2022-12-26 20:15:26 +01:00
Sipke Schoorstra a4baf46059 Merge branch 'v3' into 24953 2022-12-26 20:05:20 +01:00
Sipke Schoorstra 6338cb503c Update tagline 2022-12-26 20:03:07 +01:00
Sipke Schoorstra 0c92c27231 Merge branch 'v3_faulting' into v3 2022-12-26 18:39:40 +01:00
Sipke Schoorstra c97457deea Cleanup 2022-12-26 18:38:41 +01:00
Sipke Schoorstra 4f7e82a9dc Implement exception handling middleware 2022-12-26 18:38:30 +01:00
Sipke Schoorstra 65e7009e56 Implement Fault model 2022-12-26 18:37:29 +01:00
Vadim Lev aad051abd6 refactor elsa notif service + design refactor 2022-12-26 15:17:15 +02:00
Sipke Schoorstra d7b41de7d3 Update Proto.Actor packages to 1.0 release 2022-12-26 12:01:10 +01:00
Sipke Schoorstra 15e66a4446 Ensure workflow IDs from workflow execution factory 2022-12-26 11:40:42 +01:00
Sipke Schoorstra 8ac225520b
Improve variable vs non-variable persistence (#3568)
* Incremental fixes

* Fix base assignment of async delegate block reference

* Reuse existing memory blocks

* Remove PlaybackStarted child activity

The PlaybackStarted property is unnecessary, since the PlayAudio activity already completes right after playback has started.

* Add GetCallStatus API method

* Prevent variables on composite activities to be overwritten during deserialization

* Remove unnecessary variable declarations

Activity variables will be declared automatically during activity invocation.

* Add XML comments

* Remove unused references arg

* Streamline variable identity assignment

* Fix composite early exit completion

* Move identity assignment to workflow definition service
2022-12-25 22:02:28 +01:00
Sipke Schoorstra 24692586a5
Persistent variables (#3563)
* Stash

* Incremental work on persistent variables

* Move variable management to central service

* Implement variable cleanup upon composite activity completion
2022-12-23 16:05:37 +01:00
Sipke Schoorstra b918e23da0 Merge branch 'v3-stash' into v3 2022-12-22 21:51:50 +01:00
Sipke Schoorstra e05c78b1d7 Multi target EF core projects 2022-12-22 21:51:27 +01:00
Sipke Schoorstra a17bbbc112 Stash 2022-12-22 20:23:18 +01:00
Sipke Schoorstra bbe8ee34c0 Update packages 2022-12-22 15:55:20 +01:00
Sipke Schoorstra 63971ac248 Fix Elsa.Jobs.Activities project 2022-12-22 15:46:38 +01:00
Sipke Schoorstra 2dcd9bcd73 Add .NET 7 as a target 2022-12-22 15:40:31 +01:00
Sipke Schoorstra 2ac0ed85d4 Fix non-completing activity bug 2022-12-22 15:14:34 +01:00
Sipke Schoorstra dd62dce93f Update Telnyx webhook handler to run in background 2022-12-22 15:14:15 +01:00
Sipke Schoorstra 81ddacab0f Update Telnyx activities with correlation client state 2022-12-22 15:13:52 +01:00
Sipke Schoorstra c28d492975 Fix background mediator workers 2022-12-22 15:12:54 +01:00
Sipke Schoorstra 088158ec54 Finish Hello World ASP.NET sample project 2022-12-21 22:22:21 +01:00
Sipke Schoorstra b3f7cb1f17 Update designer package version 2022-12-21 21:54:06 +01:00
Sipke Schoorstra b99de4ab24 Update dashboard home page and login theme 2022-12-21 21:52:11 +01:00
Sipke Schoorstra 3755ff3f4d Apply distributed lock when triggering new workflows 2022-12-21 20:25:25 +01:00
Sipke Schoorstra 193af7d9c8 Rename From to Inline 2022-12-21 19:55:07 +01:00
Sipke Schoorstra 97b4966233
Workflow activation strategies (#3559)
* Implement workflow activation strategies

* Rename activation strategy API

* Rename workflow activation strategy API and implement dynamic description display

* Fix trigger workflow correlation

* Expose correlation ID from liquid

* Update workflow runtimes to invoke activation strategies

* Update workflow definition builder API with support for activation strategies
2022-12-21 19:36:40 +01:00
Vadim Lev 53ed26e24e add notification awhile component to view 2022-12-20 23:16:28 +02:00
Sipke Schoorstra 20d8a975e5 Simplify activity template 2022-12-20 13:39:08 +01:00
Sipke Schoorstra 9fe6082f31 Update common.props 2022-12-20 13:13:30 +01:00
Sipke Schoorstra 87257cbbd0 Debug 2022-12-20 13:01:54 +01:00
Sipke Schoorstra 9ac26722a4 Debug 2022-12-20 12:56:48 +01:00
Sipke Schoorstra f27b26de8a Debug 2022-12-20 12:47:41 +01:00
Sipke Schoorstra 3dfede96d3 Move shared test utility to common folder + various incremental changes 2022-12-20 12:13:53 +01:00
Sipke Schoorstra 8f53a12412 Debug 2022-12-20 12:03:55 +01:00
Sipke Schoorstra 5d0bc1f0f7 Update designer project file 2022-12-20 11:33:31 +01:00
Vadim Lev 9db96598d0 add notification awhile component 2022-12-20 09:33:08 +02:00
Vadim Lev bd0859ebf0 add notification service 2022-12-20 06:59:24 +02:00
Sipke Schoorstra e9f927bf8f Debug 2022-12-19 22:51:10 +01:00
Sipke Schoorstra 1b5ec1ce1b Update README 2022-12-19 12:21:08 +01:00
Sipke Schoorstra cc1325010a Update readme 2022-12-19 12:18:53 +01:00
Sipke Schoorstra dbdc6a785e Update Elsa.Workflows.Designer project to run NPM upon build 2022-12-19 11:29:43 +01:00