Workflow Lab

Version: 2.0

Description

In this lab exercise you will implement a simple timesheet approval workflow using Visio 2010 and SharePoint Designer 2010. The initial process layout will be implemented in Visio 2010 and imported into SharePoint Designer. The process will check the number of hours that were submitted for the week and request an approval process if they are over a specified threshold. Once this process is working, it will be exported to a WSP and imported into Visual Studio 2010 for extensions that require user code. Using Visual Studio 2010, the workflow will be integrated into a larger solution and deployed as a single packaged WSP.

Overview

Lab Time: 60 Minutes

Lab Folder: C:\Student\Labs\07_Workflow

Lab Overview: The Office 2010 platform has a new level of integration between the different workflow development tools. Visio 2010, SharePoint Designer 2010, and Visual Studio 2010 can all work together to create a complete workflow. Each of these tools has its strengths. By combining all three to create a complete workflow, power users and developers can work together to structure an organization’s processes.

Visio 2010 is used to create the high level process and is focused on the visual aspects of the process rather than the details. Visio exports this model to SharePoint Designer 2010 which is used to fill in the details. At this point the workflow can be deployed and used within the organization.

Visual Studio 1020 is used when a full application is needed in a single managed install package. The existing workflow created in Visio 2010 and SharePoint Designer 2010 can be exported to a WSP file and imported into Visual Studio. This workflow can then be integrated into a larger solution and deployed in a single SharePoint solution package.

In this lab exercise you will implement a simple timesheet approval workflow using Visio 2010 and SharePoint Designer 2010. The initial process layout will be implemented in Visio 2010 and imported into SharePoint Designer. The process will check the number of hours that were submitted for the week and request an approval process if they are over a specified threshold.

In Visual Studio you will create a workflow that calculates the amount to pay based on the hours entered in the time sheet and an hourly rate specified in the association form when associating the workflow with the Time Sheets library.

Note:
Lab Setup Requirements:

1) This lab requires the OpenXML 2.0 SDK to be installed. This should already be installed on your student VM.

2) Before you begin this lab, you must run the batch file named SetupLab07.bat in C:\Student\Labs\07_Workflow. This batch file runs a PowerShell script which creates a new SharePoint site collection at the location http://intranet.contoso.com/sites/Lab07.