Tutorial: Create a Sequential Workflow

A sequential workflow is designed to execute a series of predefined steps to accomplish a certain task. This architecture is analogous to a procedure-based application design. This tutorial walks you through a series of steps to create a simple expense report application that uses a Windows Form for the user interface and a sequential workflow for the business logic.

The application is a simple expense report that consists of a text field to enter an amount and a button to submit the expense report. The workflow uses rules to evaluate the amount and to require approval from a lead if the amount is less than 1000, or approval from a manager if the amount is greater than or equal to 1000. If approval is needed, the workflow communicates back to the application and displays a drop-down panel that contains Approve and Reject buttons. When one of these buttons is clicked, the application notifies the workflow of the response, and the workflow continues to process the event.

In This Section

Exercise 1: Create the Simple Expense Report Project

Exercise 2: Create the Expense Report Service

Exercise 3: Create the Simple Expense Report Sequential Workflow

Completed Sequential Workflow Tutorial

Sequential Workflow With Parameters

Sequential Workflows

Simple Sequential Workflow

Copyright © 2007 by Microsoft Corporation. All rights reserved.
Last Published: 2010-03-04