Task 3: Create the Custom Activity Sequential Workflow
In this task, you create a basic sequential workflow that does not contain any activities. You build upon this workflow as the tutorial progresses by adding the necessary activities and logic to communicate back to the host application.
Note
Although you are encouraged to follow the exercises in a linear manner, it is not required. You can start this exercise by opening the sample project and proceeding to the steps in the following section.
To create the SimpleExpenseReport sequential workflow project
In Solution Explorer, right-click the CustomActivity solution, click Add and New Project. Select Workflow under your language of choice and select Sequential Workflow Library. Name the project WebTearWorkflow.
Add a reference to the WebTearWorkflow project to the CustomActivity project.
Rename Workflow1 to WebTearWorkflow and confirm that references should be updated.
To define the sequential workflow
- Double-click the WebTearWorkflow file to open it in the designer. Change the name of the workflow to WebTearWorkflow.
Compiling the Code
For more information about compiling your code, see Compiling the Code.
In Exercise 2: Create the Custom Activity and Workflow, you create the custom activity and add it to the workflow that you created in this task.
See Also
Reference
SequentialWorkflowActivity
CanModifyActivities
Other Resources
Exercise 2: Create the Custom Activity and Workflow
Tutorial: Create a Sequential Workflow
Simple Sequential Workflow
Copyright © 2007 by Microsoft Corporation. All rights reserved.
Last Published: 2010-03-04