Commit graph

135 commits

Author SHA1 Message Date
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 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 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 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 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 bbe8ee34c0 Update packages 2022-12-22 15:55:20 +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 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 5f7f115c28 Fix Flowscope execution count logic 2022-12-16 22:02:19 +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 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
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
Sipke Schoorstra be3fda8acb Remove experimental fork break 2022-12-11 22:15:42 +01:00
Sipke Schoorstra fcc548e645 Refactor Event ctors 2022-12-11 22:15:28 +01:00
Sipke Schoorstra 7d492678c6 Formatting 2022-12-09 12:50:27 +01:00
Sipke Schoorstra 95025ae144 Fix serialization for Event by making default ctor public 2022-12-09 12:50:14 +01:00
Sipke Schoorstra 17ff2d2c93 Apply [JsonConstructor] to fix deserialization 2022-12-09 12:26:07 +01:00
Sipke Schoorstra 272d6f03a7 Fix tests 2022-12-07 21:05:24 +01:00
Sipke Schoorstra 026430fd2d
Composite Activity fixes and improvements (#3512)
* Implement consistent input/output/variable memory block identifiers

* Telnyx fixes and improvements

* Fix bookmark burning

* Refactor AnswerCall

* Incremental work on source + line registration

* Handle missing bookmarks

* Fix bookmark persisted callback mechanism

* Implement distributed locking for default workflow runtime

* Fix recording bookmark

* Increase source file and line coverage
2022-12-07 20:47:36 +01:00
Sipke Schoorstra c70247e133 Fix memory referencing and some other stuff 2022-12-02 22:57:26 +01:00
Sipke Schoorstra 2ce5b34b70 Add support for Complete activity serialization using default ctor 2022-12-01 22:25:41 +01:00
Sipke Schoorstra 6f429e9867
Add support for accessing workflow variables from liquid expressions (#3491) 2022-11-30 21:20:25 +01:00
Sipke Schoorstra 269627adf1 Fix If completion 2022-11-30 11:45:48 +01:00
Sipke Schoorstra 7a8beaca66 Fix stack overflow for looping constructs 2022-11-28 21:42:40 +01:00
Sipke Schoorstra 1cfe7b4181 Fix that composite roots were serialized 2022-11-28 21:34:49 +01:00
Sipke Schoorstra 4aa9f382ab Hide Root from being visible 2022-11-27 22:02:00 +01:00
Sipke Schoorstra b5a2e95ed3
Implement types API endpoint (#3479) 2022-11-26 22:27:33 +01:00
Sipke Schoorstra 2ed1e14578 Fix variable mapper & converter 2022-11-26 20:00:22 +01:00
Sipke Schoorstra 2876bb65bc Add FlowNode activity 2022-11-24 16:03:35 +01:00
Sipke Schoorstra d14cd617f3 Make Workflow non-browsable activity 2022-11-24 11:07:26 +01:00
Sipke Schoorstra 2567eb6535 Implement variable picker 2022-11-23 22:36:43 +01:00
Sipke Schoorstra 08ef4f8410 Make DynamicActivity non-browsable 2022-11-23 11:20:48 +01:00
Sipke Schoorstra 8a4e219e07 Minor renaming 2022-11-23 11:20:35 +01:00
Sipke Schoorstra 0f358e72f9 Fix HTTP activity issues 2022-11-23 11:20:00 +01:00
Sipke Schoorstra 2df0dab39f Fix result propagation for Inline activity 2022-11-22 13:09:32 +01:00
Sipke Schoorstra 9981dc1f10 Add Complete activity for completing composite activities 2022-11-22 13:09:14 +01:00