Commit graph

325 commits

Author SHA1 Message Date
Sipke Schoorstra ebf693b33b Add icons and reorganize activity categories 2023-01-03 20:28:57 +01:00
Sipke Schoorstra cbbac57e6f
Implement variables panel on workflow instance viewer (#3589)
* Small visual improvement for embedded ports

* Implement variables view for workflow instance viewer
2023-01-03 19:15:05 +01:00
Sipke Schoorstra 32b7f85142
Implement proto.actor snapshot + event cleanup (#3588) 2023-01-03 14:29:35 +01:00
Sipke Schoorstra 06e62b3bcc
Restore workflow journal (#3582)
* Refactor identity options

* Delete templates

Will be created as part of a separate repo.

* Little cleanup

* Increase token lifetime for reference server app

* Cleanup workflow definition editor plugin

* Fix workflow instance viewer component

* Update identity generator to use hyphen format

* Improve workflow and activity execution pipeline registration API

* Fix workflow journal

* Update backend

* Prevent unnecessary re-render

* Restore autolayout function
2023-01-02 22:24:05 +01:00
gurkanguran 0cadc9a712
Implemented PostgreSql provider for data persistence (#3581)
* Implemented PostgreSql provider for data persistence

* Refactor

Co-authored-by: Gürkan Güran <grkngrn@gmail.com>
2023-01-02 22:10:17 +01:00
gurkanguran 4272d5a49c
Implemented workflow sink module (#3571)
* Implemented workflow sink module

* Sequentual process of saving sinks in single consumer

* Refactor

* Log errors during sink export

* Removed redundant classes

* Use in process messaging in bundle

* Fixed the issue with duplicated ResultVariable key on serializing

* Moved workflowsink modules out of persistence projects

* Moved migrations out of old projects

Co-authored-by: Gürkan Güran <grkngrn@gmail.com>
Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2023-01-01 18:02:38 +01:00
Sipke Schoorstra 7a98cdf60d
Normalize extensions namespaces (#3577) 2022-12-31 16:16:43 +01:00
Sipke Schoorstra 01c70e5563 Update docker things 2022-12-30 19:29:34 +01:00
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 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 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
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 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 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
Sipke Schoorstra 87257cbbd0 Debug 2022-12-20 13:01:54 +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
Sipke Schoorstra dbdc6a785e Update Elsa.Workflows.Designer project to run NPM upon build 2022-12-19 11:29:43 +01:00
Sipke Schoorstra 5f7f115c28 Fix Flowscope execution count logic 2022-12-16 22:02:19 +01:00
Sipke Schoorstra 8438444eb4 Handle Jsonelement string deserialization to other types 2022-12-16 22:01:50 +01:00
Sipke Schoorstra b10d91b525 Fix property handling 2022-12-16 21:10:18 +01:00
Sipke Schoorstra bc0bca2f51 Fix flowchart property storage 2022-12-16 21:09:14 +01:00
Sipke Schoorstra 64d2ac1577 Fix GatherUsingspeak activity optional input 2022-12-16 21:08:54 +01:00
Sipke Schoorstra e172118af9 Handle number to string conversion 2022-12-16 21:08:15 +01:00
Sipke Schoorstra 594970bfc6 Fix persistent variable serialization 2022-12-16 12:11:45 +01:00
Sipke Schoorstra 764cd6187b
Fix workflow navigation (#3541)
* Incremental work

* Reimplement flowchart navigation

* Fix activity property editing

* Fix workflow property editor

* Fix designer lookup upon new activity added

* Restore Variables context

* Add Start event

* Add XML comments to WriteLine

* Implement variable getter and setters for JS
2022-12-15 22:53:56 +01:00
Sipke Schoorstra b6247824b3 Remove required memory block reference ID 2022-12-14 20:35:48 +01:00
cristinamudura bb9ebef362
Added correlation activity (#3530)
* Added correlation activity

* Changed the category from "Control Flow" to "Primitives"
2022-12-14 13:05:45 +01:00
Sipke Schoorstra a21ed913ff Add Designer package 2022-12-13 21:49:38 +01:00
Sipke Schoorstra bfb781c0da Add XML comments 2022-12-11 22:41:10 +01:00
Sipke Schoorstra 3d4718ff76 Rename From to Inline 2022-12-11 22:34:24 +01:00
Sipke Schoorstra 13d745dcaa Add XML comments to WorkflowExecutionContext 2022-12-11 22:15:56 +01:00