O'Reilly logo

Programming Windows Workflow Foundation: Practical WF Techniques and Examples using XAML and C# by K. Scott Allen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Workflows and the Outside World

For many workflows, an important step will be to decide how the workflow will interact with an application. How do we know if a workflow finished successfully or threw an exception? How do we get data into a workflow instance? When the workflow completes, how do we get data out? Technically, there are an infinite number of solutions to these questions. In this section, however, we are going to cover some of the fundamental techniques.

The basic mechanisms for communicating with a workflow include events, methods, and workflow parameters. An application can both raise events to a workflow instance and receive lifecycle events about a workflow instance from the workflow runtime. These lifecycle events are the first ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required