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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.