Exercise 1: Building workflows with Visio 2010

In this first exercise you will create a simple process in Visio 2010 and export it to SharePoint Designer 2010.

  1. Start by setting up the site collection using the SetupLab07.bat file in C:\Student\Labs\07_Workflow.
  2. Launch Visio 2010 and select the FlowChart folder.

    Figure 1

    FlowChart templates folder

  3. Within the FlowChart folder create a new file using the Microsoft SharePoint Workflow template.

    Figure 2

    Select the Microsoft SharePoint workflow folder

  4. Click the Create button in the right pane.
  5. Using the toolbox on the left hand side of the window, locate the SharePoint Workflow Terminators section and add a Start and Terminate shape to the diagram.

    Figure 3

    The SharePoint Workflow Terminators

  6. Open the SharePoint Workflow Conditions section and add a Compare Data Source shape to the diagram.
    1. Double click and change its name to Check if manager approval is needed.
  7. 7.Open the SharePoint Workflow Actions section and add three Log to History List shapes to the diagram.
    1. Double click the first and change its name to Log Manager approval required.
    2. Double click the next and change its name to Log automatically approved.
    3. Double click the last and change its name to Log submission to HR.
  8. Add the process flow connections between the shapes. Use the image below as an example.

    1. Add connections by hovering over the source shape, clicking and dragging one of the arrows to the target shape (make certain that you see a red square over the destination to ensure that you are connecting the shapes together correctly).(Note: to add two connections (as in Check if Manager to the next 2 Log actions simply use another arrow (when hovering over the diamond shape) it will automatically move into the correct position).

    Figure 4

    Add connections between the log actions

  9. Label the connections flowing from the condition yes or no depending on the process flow.
    1. Right click the connection from Check if manager approval is needed to Log Manager approval required and select Yes.
    2. Right click the connection from Check if manager approval is needed to Log automatically approved and select No.

      Figure 5

      Configure the connections

  10. Save the process diagram to C:\Student\Labs\07_Workflow\ with a name of TimeSheet Submission Workflow.vsd.
    1. Export the process by selecting the Process ribbon in Visio 2010 and clicking the Export button.

      Figure 6

      Export the workflow

    2. Save the exported workflow to C:\Student\Labs\07_Workflow\ with a name of TimeSheet Submission Workflow.vwi.
Note:
In this exercise you created a SharePoint workflow using Visio 2010 for use in future lab exercises.