* 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
16 lines
408 B
C#
16 lines
408 B
C#
using Elsa.Activities.Console.Activities;
|
|
using Elsa.Expressions;
|
|
using Elsa.Services;
|
|
using Elsa.Services.Models;
|
|
|
|
namespace Sample15
|
|
{
|
|
public class HelloWorldWorkflow : IWorkflow
|
|
{
|
|
public void Build(IWorkflowBuilder builder)
|
|
{
|
|
builder
|
|
.StartWith<WriteLine>(activity => activity.TextExpression = new PlainTextExpression("Hello World!"));
|
|
}
|
|
}
|
|
} |