This documentation is archived and is not being maintained.

State Machine Activities in WF

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

Update 4.0.1 for Microsoft .NET Framework 4 (KB2478063) provides several system-provided activities and activity designers for creating state machine workflows.

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.


Executes contained activities using the familiar state machine paradigm.


Represents a state in a state machine.


Represents a terminating state in a state machine. FinalState is an activity designer that when used creates a State preconfigured as a terminating state. For more information, see FinalState Activity Designer.


Represents the transition between two states. There is no Toolbox item for Transition; transitions are created on the workflow designer by dragging and dropping a line between two states, or by dropping a state on the triangles that appear when one state is hovered over another. For more information, see Transition Activity Designer.

If the state machine activities do not appear in the Toolbox, ensure that the Target framework is set to one of the .NET Framework 4 Platform Update 1 profiles in the project properties.

Project Properties

See Also