Commit graph

62 commits

Author SHA1 Message Date
Andale-online 58d7bc654a GetVariable(string name, Type type) (#155)
* GetVariable(string name, Type type)
2019-11-15 10:37:01 +01:00
Sipke Schoorstra ab514ede04 Fix a serialization/casting issue in WorkflowExecutionContext.SetLastResult 2019-11-03 17:05:16 +01:00
Sipke Schoorstra 3fd0cb5270
Refactor Variable serialization to convert to JValue (#120)
This removes the confusion where a specific object will retain its type when serialized, which is not the case.
2019-11-03 14:33:34 +01:00
Sipke Schoorstra 57f116c239
Fix object disposed bug (#116)
* Refactor buggy SignalRequestHandler

For some reason, the following code is problematic:

await DecryptToken()
                .BindAsync(GetWorkflowInstanceAsync)
                .BindAsync(CheckIfExecutingAsync)
                .MapAsync(ResumeWorkflowAsync);

Basically, any lambda in the BindAsync and MapAsync could execute even after the containing method returned

* Implement better message handler registration without adding multiple IMediator services

* Abstracted Mediator service registration methods.
* Add Liquid support for JObject.
2019-10-31 21:31:18 +01:00
Sipke Schoorstra e162391c30 Update package descriptions and renamed some activities 2019-10-27 17:31:50 +01:00
Sipke Schoorstra 943398bcb2 Fix merge issues 2019-10-27 16:08:18 +01:00
Sipke Schoorstra bc04b00196 Merge branch 'develop'
# Conflicts:
#	Samples.sln
#	src/activities/Elsa.Activities.Timers/Elsa.Activities.Timers.csproj
#	src/core/Elsa.Abstractions/Services/IActivityBuilder.cs
#	src/core/Elsa.Core/Elsa.Core.csproj
#	src/core/Elsa.Core/WorkflowBuilders/ActivityBuilder.cs
#	src/samples/Sample17/Activities/CreatePerson.cs
#	src/samples/Sample17/CreatePersonWorkflow.cs
#	src/samples/Sample17/Program.cs
#	src/samples/Sample17/Sample17.csproj
2019-10-27 16:05:55 +01:00
Sipke Schoorstra aef8741d84
Add Liquid expressions (#111)
* Reorganize projects

* Implement Liquid expression evaluator

* Refactor activity references to use `Name`
2019-10-27 15:38:37 +01:00
Sipke Schoorstra cb25239fd1
Add While activity (#110)
* Implement While activity

* Variable scope bug fixes

* Merge designer attributes with activity definition

* Update package references
2019-10-26 12:46:20 +02:00
Sipke Schoorstra 06412c0cc0
Add support for custom title and description (#109) 2019-10-25 18:39:54 +02:00
Sipke Schoorstra d7fc571cdd
RC3 (#108)
* Add activity output example

* Update Sample17

* Extend SMTP options (#107)

* Remove unused imports

* Update Elsa.Scrutor package reference
2019-10-24 23:36:07 +02:00
Sipke Schoorstra b9878f94bb
Extend SMTP options (#107)
* Extend SMTP options

* Remove unused imports
2019-10-24 22:06:14 +02:00
Sipke Schoorstra 82ce170f8d Update Sample17 2019-10-24 21:45:19 +02:00
Sipke Schoorstra c7c41d10a5
Workflow Registry refresh upon workflow definition updates (#101)
* Fix many things. Few more samples left to fix

* Fix all the samples

* Introduce service configurator

* Implement cache signaling and refreshing workflow registry

* Add Sample16 demonstrating dashboard + workflow host combined

* Bugfix where non-published versions of worklows are triggered
2019-10-23 21:23:25 +02:00
Sipke Schoorstra dfac2d0a4f
Implement workflow execution path visualization (#93)
* Add workflow designer models
* Fix versioning
* Implement workflow path execution trail
2019-10-19 17:03:52 +02:00
Sipke Schoorstra 012e12c51c
Implement activity execution logging (#89)
* Implement activity logging
* Update Calculator example
2019-10-14 19:46:55 +02:00
Sipke Schoorstra d9692bec8b Add icons 2019-10-08 22:19:03 +02:00
Sipke Schoorstra 45bf66b7f2 Fix draft/publish functionality
Fixes #84
2019-09-29 18:56:49 +02:00
Sipke Schoorstra fb6f054119 Add support for Singleton (Dashboard) and Disabled workflows
Closes #85
2019-09-29 17:39:08 +02:00
Sipke Schoorstra 3282ac26c5 Fix MongoDb NodaTime deserialization issue 2019-09-28 11:55:06 +02:00
Sipke Schoorstra e1da5f5f19
Define activities (#78)
* Annotate activities with design-time attributes
2019-09-22 00:02:04 +02:00
Sipke Schoorstra 02be088cdb
Implemented initial version of workflow instances (#77)
* Initial version of workflow instance list & details view

* Add logo
2019-09-21 12:49:10 +02:00
Sipke Schoorstra 69116727be
Fixed lifetime scope issues with Workflow Invoker and many other bugs (#70)
* Refactor workflow invoker to execute in finite scope

* Fix Timer Event and workflow instance concurrency issue
2019-09-18 22:14:52 +02:00
Sipke Schoorstra a5c7a66f6b Remove unused namespaces and add documentation site URL to README 2019-09-16 15:23:16 +02:00
Sipke Schoorstra 7fb6153e0a
Refactored versioning (#67)
* Fix StringValues serialization and rename WorkflowDefinition to WorkflowDefinitionVersion

* Fix Singleton issue and add support for absolute URL using base URL for background tasks

* Fix persistence and lifetime scope issues

* Fix timer bugs

* Various bug fixes
2019-09-15 12:16:24 +02:00
Sipke Schoorstra b156a1f25e
Feature/mvc area dashboard (#65) 2019-09-11 20:26:21 +02:00
Sipke Schoorstra d530853eaa
Add MongoDB persistence provider and fix other providers (#64) 2019-09-08 11:45:35 +02:00
Sipke Schoorstra 9ecd9309d5
Add dashboard middleware (#62)
* Incremental work on dashboard

* Updated models

* Various improvements:

- Delete
- Draft / Publish
- Fix JSON Patch for JObject

* Update workflow-definitions view

* Update packages

* Update workflow editor
2019-08-07 21:12:47 +02:00
Sipke Schoorstra 19e45d1c16
Implemented EF Core provider (#58) 2019-07-26 19:10:43 +02:00
Sipke Schoorstra 9070aa9070
Implemented activity outputs (#57) 2019-07-25 22:00:44 +02:00
Sipke Schoorstra cb5b2fa53c
Implemented versioning (#56) 2019-07-25 21:06:46 +02:00
Sipke Schoorstra 12448cde5b
Added UserTask activity (#55) 2019-07-25 18:10:17 +02:00
Sipke Schoorstra 1a70cfd18c
Implemented workflow correlation (#54) 2019-07-25 17:13:18 +02:00
Sipke Schoorstra 26c70d4e0f
Added SQL persistence via YesSQL (#50)
* Implemented YesSQL persistence provider
2019-07-25 14:45:01 +02:00
Sipke Schoorstra d117cdec01 Fixed a number of activity expression property names and updated Sample09 with a functioning console app workflow 2019-07-22 21:58:29 +02:00
Sipke Schoorstra 7ba8b1e8d6 Merge 2019-07-22 18:55:02 +02:00
Sipke Schoorstra 86dcf2f994 Updated namespaces and excluded samples from main solution 2019-07-15 09:53:48 +02:00
Sipke Schoorstra 7cab475321
Added MassTransit support (#46) 2019-07-07 14:20:42 +02:00
Sipke Schoorstra 877674619d
Added HTTP trigger & signal (#44)
* Incremental work on signaling

* Incremental work on signal middleware

* Getting somewhere!

* Refactored middelware

* Added BadRequestResult and NotFoundResult
2019-07-06 20:36:10 +02:00
Sipke Schoorstra a5e4a71b41 Consolidated IWorkflowHost and IWorkflowInvoker 2019-06-28 18:24:48 +02:00
Sipke Schoorstra 4658485d08
Implemented singleton workflows (#42)
#41
2019-06-28 17:51:44 +02:00
Sipke Schoorstra 16fdc89d87
Simplified everything (#40)
* Removed cruft

* Consolidated activity driver with activity

* Incremental work on serialization

* Incremental work on serialization

* WIP

* Incremental work on strongly typed defined workflows

* Removed old samples and added new ones

* Updated primitives and improved workflow builder API

* WIP (broken)

* Coded workflow API improvements

* Fixed Email and Http libraries

* Fixed start activity issue
2019-06-27 22:55:55 +02:00
Sipke Schoorstra 2f5feb0f76
Automatic activity UI (#36)
* Broken, WIP

* Generalized activity card & design shapes

* Implemented generic activity editor

* Added more editor templates

* Incremental work on workflow expression template
2019-06-06 19:54:26 +02:00
Sipke Schoorstra 18fd2954d3
Separate storage for workflow definitions and instances (#34)
* Separated storage for definitions and instances
* Updated package references
* Added some demos
* Some web fixes
* Updated README
2019-06-01 13:14:09 +02:00
Sipke Schoorstra d957d67d9b
Added Join activity (#21)
* Implemented Join activity

* Updated JoinDriver
2019-02-16 15:34:32 +01:00
Sipke Schoorstra c2797e6b71
Improved HTTP request activities (#18)
* HTTP activity workflow fixes

* Removed Http Cache for now in favor of implementing caching storage
2019-02-16 11:00:30 +01:00
Sipke Schoorstra 009bceff6f
HTTP Response Activity (#16)
* Updated Readme with a few more bits
* Implemented basic version of HTTP Response activity
2019-01-20 18:16:57 +01:00
Sipke Schoorstra cd3fb844ed Incremental work on track and trace 2019-01-11 22:47:26 +01:00
Sipke Schoorstra bea9a5819a Incremental work on execution logging 2019-01-06 22:42:59 +01:00
Sipke Schoorstra 0af3ff541b Added time fields to Workflow 2019-01-06 17:44:30 +01:00