Control Flow Activity Designers

Windows Workflow Designer includes a number of system-provided activities that you can use when constructing your workflows. This section contains the system-provided activities used to control the flow within a workflow. The following topics describe these activities and provide guidance on how to use them.

In This Section

  • DoWhile Activity Designer
    Executes the activity contained in its body at least once, until a specified condition evaluates to true.
  • ForEach<T>
    Executes the activity contained in its body for each item in a specified collection.
  • If Activity Designer
    Evaluates a condition and executes an activity depending on the results of that evaluation.
  • Pick Activity Designer
    Executes one of several branches in response to some event that provides event-based flow control.
  • Switch<T>
    Evaluates a specified expression and executes the activity from a collection of activities whose associated key matches the value obtained from the evaluation.
  • While Activity Designer
    Executes the activity contained in its body while a specified condition evaluates to true.

Reference

Activity

DoWhile

ForEach

If

Parallel

ParallelForEach

Pick

PickBranch

Sequence

Switch

While

For other types of activity designers, see the following topics.

Using the Activity Designers

Flowchart Activity Designers

Messaging Activity Designers

Runtime Activity Designers

Primitives Activity Designers

Transaction Activity Designers

Collection Activity Designers

Error Handling Activity Designers

External Resources

Using the Activity Designers

Build Date: 2012-03-02