This commit is contained in:
Chris
2025-11-11 09:17:34 -08:00
committed by GitHub
Unverified
parent a39e6561fd
commit ad2ebfc0c8
3 changed files with 4 additions and 4 deletions
@@ -42,7 +42,7 @@ internal sealed class Program
Console.WriteLine(code);
}
private const string DefaultWorkflow = "HelloWorld.yaml";
private const string DefaultWorkflow = "Marketing.yaml";
private string WorkflowFile { get; }
@@ -92,11 +92,11 @@ The repository has example workflows available in the root [`/workflow-samples`]
2. Run the demo referencing a sample workflow by name:
```sh
dotnet run HelloWorld
dotnet run Marketing
```
3. Run the demo with a path to any workflow file:
```sh
dotnet run c:/myworkflows/HelloWorld.yaml
dotnet run c:/myworkflows/Marketing.yaml
```
+1 -1
View File
@@ -10,7 +10,7 @@ A _Declarative Workflow_ may be executed locally no different from any `Workflow
The difference is that the workflow definition is loaded from a YAML file instead of being defined in code.
```c#
Workflow<string> workflow = DeclarativeWorkflowBuilder.Build<string>("HelloWorld.yaml", options);
Workflow<string> workflow = DeclarativeWorkflowBuilder.Build<string>("Marketing.yaml", options);
```
Workflows may also be hosted in your _Azure Foundry Project_.