elsa-core/samples/console/Elsa.Samples.ConsoleApp.ConditionalWorkflows
2024-10-11 20:41:49 +02:00
..
Elsa.Samples.ConsoleApp.ConditionalWorkflows.csproj Enable Proto Actor Tracing for TraceLens (#5800) 2024-07-19 20:23:32 +02:00
Program.cs Update namespaces and correct merge artefacts 2024-10-11 20:41:49 +02:00
Readme.md Move samples to repository root 2024-02-02 20:01:14 +02:00

Conditional Workflows

Many workflows consist of conditional logic to determine which path of execution to take next. One option to model such a workflow is the use of If

If

The If activity provides a Condition property that can be set to a flavor of a workflow expression. In addition, the activity provides a Then and Else property, to which we can assign an activity to execute.

When the condition evaluates to true, the Then activity is executed, otherwise the Else activity is executed.