WEBSITE

Creating Custom Workflows with SharePoint Designer 2010 (part 3) - Testing Our Workflow

1/1/2014 8:49:48 PM

6. Testing Our Workflow

From the Site Actions menu in your site, select the Site Workflows icon. This brings up a page that shows all the site workflows (see Figure 12), where we can start a new workflow or check the status of running or complete workflows.

Figure 12. The Site Workflows page allows you to start a new site workflow or to track running or complete workflows

Clicking the Request Elevated Permissions icon will kick off the new workflow. Figure 13 shows the user being prompted for the access level she is requesting. You can see how our simple workflow variable gets converted into a user-friendly choice field. Once the user selects a value, all she has to do is click the Start button to get the workflow started.

Figure 13. The workflow variable you created in SharePoint designer gets converted into a drop-down list allowing the user to select the permission level he or she is requesting

If you remember from our steps, clicking Start will send an e-mail to the administrator, create a task for the administrator, and log the activity to the workflow history log. So let’s take a look at all of these. If we return to our Site Workflows page, we now see our workflow in the Running workflows section. Clicking this workflow brings us to the information page for this workflow instance. Figure 14 shows our workflow information page where we can see status, the assigned task, and the workflow history entry.

Figure 14. The information page for the workflow shows the current status, any assigned tasks, and the workflow history

If you switch to Outlook, you see the e-mail that our workflow sent (see Figure 15). The e-mail body contains the requested user’s name, the requested permission, and a link to the site.

Figure 15. The e-mail sent by the workflow contains information about the user, requested access, and the site in question

While this workflow is pretty simple with only three steps, you can see the value in using SharePoint Designer for workflow development without having to get the IT department or developers involved. SharePoint Designer gives the end user many options for developing workflows by providing conditions and several actions. It does not, however, help in visualizing the workflow process itself, as the steps in Designer are linear. The next section shows how Microsoft Visio 2010 can be used to design the workflow, and how Visio Services is used to provide the user a visual representation of the workflow process.

Other  
  •  Sharepoint 2013 : Visio Graphics Services (part 2) - Setting the Description of a Data Provider , Configuring Visio Performance Settings
  •  Sharepoint 2013 : Visio Graphics Services (part 1) - Configure the Unattended Service Account, Create a New Safe Data Provider
  •  Sharepoint 2010 : Making Business Processes Work - Using the Provided Workflows (part 3) - Checking the Workflow Status
  •  Sharepoint 2010 : Making Business Processes Work - Using the Provided Workflows (part 2) - Starting the Workflow from the Item Workflow Page, Starting the Workflow from Office 2010 Client
  •  Sharepoint 2010 : Making Business Processes Work - Using the Provided Workflows (part 1) - Associating a Workflow with a List
  •  Sharepoint 2010 : Making Business Processes Work - Getting Started with Workflow, Workflow Terminology
  •   ASP.NET 4.0 : Data Source Components (part 10) - The XmlDataSource Class
  •   ASP.NET 4.0 : Data Source Components (part 9) - The SiteMapDataSource Class - Displaying Site Map Information
  •  ASP.NET 4.0 : Data Source Components (part 8) - The LinqDataSource Class -Lazy Loading and Prefetch, Updating Data
  •  ASP.NET 4.0 : Data Source Components (part 7) - The LinqDataSource Class - Selecting, Sorting, and Filtering Data
  •  
    Top 10
    Review : Sigma 24mm f/1.4 DG HSM Art
    Review : Canon EF11-24mm f/4L USM
    Review : Creative Sound Blaster Roar 2
    Review : Philips Fidelio M2L
    Review : Alienware 17 - Dell's Alienware laptops
    Review Smartwatch : Wellograph
    Review : Xiaomi Redmi 2
    Extending LINQ to Objects : Writing a Single Element Operator (part 2) - Building the RandomElement Operator
    Extending LINQ to Objects : Writing a Single Element Operator (part 1) - Building Our Own Last Operator
    3 Tips for Maintaining Your Cell Phone Battery (part 2) - Discharge Smart, Use Smart
    REVIEW
    - First look: Apple Watch

    - 3 Tips for Maintaining Your Cell Phone Battery (part 1)

    - 3 Tips for Maintaining Your Cell Phone Battery (part 2)
    VIDEO TUTORIAL
    - How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 1)

    - How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 2)

    - How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 3)
    Popular Tags
    Microsoft Access Microsoft Excel Microsoft OneNote Microsoft PowerPoint Microsoft Project Microsoft Visio Microsoft Word Active Directory Biztalk Exchange Server Microsoft LynC Server Microsoft Dynamic Sharepoint Sql Server Windows Server 2008 Windows Server 2012 Windows 7 Windows 8 Adobe Indesign Adobe Flash Professional Dreamweaver Adobe Illustrator Adobe After Effects Adobe Photoshop Adobe Fireworks Adobe Flash Catalyst Corel Painter X CorelDRAW X5 CorelDraw 10 QuarkXPress 8 windows Phone 7 windows Phone 8