Creating and Running a Workflow Instance
The CreatingWorkflowInstances sample shows how to run a workflow instance. It shows how to execute it synchronously and asynchronously.
Demonstrates
WorkflowInvoker, WorkflowApplication.
Discussion
The first part of the sample uses Invoke. This is the most basic way to execute a workflow. Workflows executed with Invoke are executed synchronously.
The second part of the sample uses the WorkflowApplication class. WorkflowApplication enables you to have more control over each instance, including the ability to interact with the running workflow and to run the workflow asynchronously.
See also
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.