Share via


How to: Create a Workflow

This topic applies to Windows Workflow Foundation 4 (WF4).

Workflows can be constructed from built-in activities as well as from custom activities. This topics in this section step through creating a workflow that uses both built-in activities such as the Flowchart activity, and the custom activities from the previous How to: Create an Activity topic. The workflow models a number guessing game. Only one of the topics in this section is required to complete the tutorial; you should pick the style that interests you and follow that step. However, you may complete all of the topics if desired.

Note

Each topic in the Getting Started tutorial depends on the previous topics. To complete this topic, you must first complete How to: Create an Activity.

Note

To download a completed version of the tutorial, see Windows Workflow Foundation (WF4) - Getting Started Tutorial.

In This Section

  • How to: Create a State Machine Workflow
    Describes how to create a state machine workflow using the StateMachine activity.

    Note

    State machine functionality in Windows Workflow Foundation (WF) was introduced as part of the Update 4.0.1 for Microsoft .NET Framework 4 (KB2478063). To create state machine workflow applications in Visual Studio 2010, the Update 4.0.1 for Microsoft .NET Framework 4 – Design-time Package for Visual Studio 2010 SP1 (KB2495593) is required. For more information and instructions on how to download and configure these updates, see Update 4.0.1 for Microsoft .NET Framework 4 Features.

See Also

Other Resources

Windows Workflow Foundation Programming

Build Date: 2012-03-02