Commit graph

73 commits

Author SHA1 Message Date
Sipke Schoorstra ebc2a4a89e
Added VariableExpression (#217)
* Add VariableExpression

* Workflow Runner bug fixes
2019-12-25 12:10:39 +01:00
Sipke Schoorstra 8092d166a5
Add native .NET code support + activity input/output (#216)
* Add code activity

* Refactor Workflow State to use Variables

* Update InstantEvent and SetVariable

* Update samples

* Add activity input/output
2019-12-23 21:43:11 +01:00
Sipke Schoorstra bd422f5d14
Feature/persist on every activity (#215)
* Add support for resuming crashed workflow hosts
* Add workflow persistence behavior
2019-12-21 12:34:27 +01:00
Sipke Schoorstra 452516bdfa Merge branch 'develop' into feature/elsa-2.0
# Conflicts:
#	src/persistence/Elsa.Persistence.YesSql/StartupTasks/InitializeStoreTask.cs
2019-12-21 12:32:04 +01:00
Sipke Schoorstra 0fbb47ff8f Fix broken Sample23 2019-12-21 10:45:16 +01:00
Sipke Schoorstra 853abf4e62 Merge branch 'develop' into feature/elsa-2.0
# Conflicts:
#	Samples.sln
#	Samples.sln.DotSettings
#	src/samples/Sample04/Program.cs
2019-12-17 21:50:53 +01:00
Sipke Schoorstra 1daf8e25a0 Remove compiler warnings 2019-12-17 21:44:40 +01:00
Nate Hughey e55c17ea92 Feature - Customize Elsa.Persistence.EntityFrameworkCore Migrations and Schema (#204)
* Added PostgreSql support to Elsa.Persistence.EntityFrameworkCore via Npgsql.
* Customize Elsa.Persistence.EntityFrameworkCore Migrations and Schema.
* Added Context factory in Sample23 to use the IDbContextCustomSchema.
* Refactor the Custom Schema support to use the EFCore IDbContextOptionsExtension.
2019-12-17 21:38:58 +01:00
Sipke Schoorstra 61c9ac48c7 Update packages 2019-12-10 15:46:49 +01:00
Sipke Schoorstra 21744a5056 Update Sample04 with printing execution log to console 2019-12-04 13:10:47 +01:00
Sipke Schoorstra dce24b4f3b Refactor rename to updated workflow terminology 2019-11-29 13:32:05 +01:00
Sipke Schoorstra 98fe6d21d7 Add SQL Server example 2019-11-26 22:54:06 +01:00
Sipke Schoorstra 34a3872693 Remove LastResult, refactor activity output 2019-11-24 15:25:16 +01:00
Sipke Schoorstra d9cf7c4f1c Incremental work on GraphQL 2019-11-23 15:08:40 +01:00
Sipke Schoorstra baef007e2b Incremental work on GraphQL 2019-11-22 23:07:31 +01:00
Peter Davis 2eab1fc080 Control flow extension methods (#192)
Just makes the code a little more readable 🙂
2019-11-22 15:32:19 +01:00
Sipke Schoorstra 675c0e94b0
Replace SmtpClient from System.Net.Mail with MailKit's (#194)
* Replace SmtpClient from System.Net.Mail with MailKit's
2019-11-22 15:29:35 +01:00
Peter Davis e05192086e Scheduled MassTransit message delivery (#175)
Creating a sample workflow with scheduled message delivery

* Add MassTransit quartz job factory

* Add cancel schedule message activity

* Correlate MassTransit messages to workflow based on message properties

* Add cart expired and submitted workflow steps

* Add message schedule options configuration

* Code cleanup

* Update launch settings

* Cleanup send and publish activities

* Add scheduled time expression property
2019-11-21 08:14:01 +01:00
Peter Davis e47a952039 Add the ability to publish events via MassTransit (#187) 2019-11-20 10:27:53 +01:00
Sipke Schoorstra b545fd2aea
Add Dockerfile and docker-compose (#186)
Fixes #142
2019-11-19 19:25:56 +01:00
Peter Davis dad6c254f5 Add a function to allow creating GUID values from JS expressions (#172) 2019-11-18 08:04:48 +01:00
Sipke Schoorstra b0a5962f4a Fix variable serialization issues 2019-11-17 22:48:17 +01:00
Sipke Schoorstra 21f770bc48
Refactorings and fixes (#168)
* Variables are now stored including their type name for automatic deserialization into their actual type. This is important for use in expressions.
* **SplitObject** and **ExecuteMethod** now use workflow expressions instead of variable names. This allows for more flexibility.
* Improved **Join** activity to allow proper function within looping constructs.
* Improved Variables performance. Variables are no longer serialized/deserialized upon writing/reading perspectively, only when the workflow instance is persisted.
2019-11-17 20:43:16 +01:00
Sipke Schoorstra d1f7ce47b7
EF Core Provider rewrite (#165)
* Fixed EF provider

Fixes #144 , #145
2019-11-16 14:06:53 +01:00
Peter Davis a7a192cb53 Fix response message workflow instance correlation (#163)
* Add correlation id to workflow  response message

* Return message not correlating because of mismatching string formats
2019-11-16 08:29:05 +01:00
Peter Davis 13b51f3e7c Message correlation (#158)
* Correlate messages to workflow instances

Looks like it is really important to correlate masstransit messages to workflow instances. I have updated the demo to show this as I ran a few in parallel and several errors were occurring.

* Use concurrent dictionary for memory instance store
2019-11-15 10:29:04 +01:00
Peter Davis 4b20841ea7 MassTransit Fixes (#148)
* Fix issue #134 where consumer could not be created

* Fix issue where message was null in ReceiveMassTransitMessage

input variables are case sensitive

* Add simple test script to execute the workflow

* Add message type as input from consumer

* Allow passwords to be specified in amqp URI
2019-11-15 10:19:20 +01:00
Sipke Schoorstra 94fa8d2281 Merge branch 'master' into develop 2019-11-06 21:11:56 +01:00
James Doran 7d4d0f919e Fixed bug where multiple activity registrations of the same type would cause duplicate key exception (#128)
* Fixed issue in ActivityResolver where multiple registrations of the same workflow type would cause dup key exception

* Updated Sample12 to remove AddUserTaskActivities() call, as this is now done in AddElsa()
2019-11-05 01:19:20 +01:00
Sipke Schoorstra ab514ede04 Fix a serialization/casting issue in WorkflowExecutionContext.SetLastResult 2019-11-03 17:05:16 +01:00
Sipke Schoorstra ff1b203139 Update README and Sample16/Startup 2019-10-28 18:50: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 99ee3cacce Downgrade dependencies 2019-10-25 17:55:39 +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 0ea4cd3671 Update Sample17 2019-10-24 20:51:41 +02:00
Sipke Schoorstra 75e89b6593 Update Sample17 2019-10-24 20:47:40 +02:00
Sipke Schoorstra dc0a68c37d Add activity output example 2019-10-24 17:56:36 +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 c72519b234 Reorganized folders a bit 2019-06-28 19:01:23 +02:00
Sipke Schoorstra 42d625da11 Added HTTP sample workflow 2019-06-28 18:55:12 +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 e24116681f Removed web UI related code 2019-06-12 22:44:18 +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