Some checks are pending
CodeQL / Analyze (csharp) (push) Waiting to run
CodeQL / Analyze (python) (push) Waiting to run
dotnet-build-and-test / paths-filter (push) Waiting to run
dotnet-build-and-test / dotnet-build-and-test (Debug, windows-latest, net9.0) (push) Blocked by required conditions
dotnet-build-and-test / dotnet-build-and-test (Release, integration, true, ubuntu-latest, net10.0) (push) Blocked by required conditions
dotnet-build-and-test / dotnet-build-and-test (Release, integration, true, windows-latest, net472) (push) Blocked by required conditions
dotnet-build-and-test / dotnet-build-and-test (Release, ubuntu-latest, net8.0) (push) Blocked by required conditions
dotnet-build-and-test / dotnet-build-and-test-check (push) Blocked by required conditions
18 lines
684 B
Markdown
18 lines
684 B
Markdown
# Declarative Workflows
|
|
|
|
A _Declarative Workflow_ is defined as a single YAML file and
|
|
may be executed locally no different from any regular `Workflow` that is defined by code.
|
|
|
|
The difference is that the workflow definition is loaded from a YAML file instead of being defined in code:
|
|
|
|
```c#
|
|
Workflow workflow = DeclarativeWorkflowBuilder.Build("Marketing.yaml", options);
|
|
```
|
|
|
|
These example workflows may be executed by the workflow
|
|
[Samples](../dotnet/samples/GettingStarted/Workflows/Declarative)
|
|
that are present in this repository.
|
|
|
|
> See the [README.md](../dotnet/samples/GettingStarted/Workflows/Declarative/README.md)
|
|
associated with the samples for configuration details.
|