Exercise 3: Building a Workflow in Visual Studio 2010
In this exercise you will use Visual Studio to create a workflow that will use the timesheet data approved in the previous examples and convert it to a Word document. The generated timesheet document will be stored in a new document library that can be chosen when the workflow was associated.
Task 1 – Create a new Visual Studio 2010 Sequential Workflow
In this first task, you will create the sequential workflow item that will be the starting point for the timesheet generation workflow.
Task 2 – Create the custom Association page
In this task, you will create a custom Association page that allows the user associating the workflow to the Timesheet list to choose a document library to store the generated timesheet.
Task 3 – Implement the TimeSheet generation workflow
In this task, you will implement the workflow process and add the custom activities to generate and store the timesheet.
Exercise 3 Verification
In order to verify that you have correctly performed all steps of exercise 3, proceed as follows:
Test the Workflow
Execute your workflow and verify it converts the timesheet list item into a new document in the selected document library.