WEBSITE

Sharepoint 2010 : Making Business Processes Work - Using the Provided Workflows (part 1) - Associating a Workflow with a List

12/30/2013 8:36:57 PM

To get you started, SharePoint provides several out-of-the-box workflows that can be applied immediately to your lists and libraries. While SharePoint Foundation Server 2010 users only get one such workflow (the Three-State workflow), SharePoint Server 2010 users have several to choose from. The advantage of using these workflows is that users can simply apply them directly without waiting for custom workflows to be built and deployed. The provided workflows are designed to be generic enough that they can be applied to many review and approval processes. 

1. Associating a Workflow with a List

By default, workflows are not associated with any of the list templates provided, but using them is a very simple process. To see what workflows are available for your list, let’s look at a Document Library.

To associate a workflow, open your document library and select the Library tab under Library Tools in the ribbon. In the settings section on the right, you will notice an icon menu for workflows (see Figure 1).

Figure 1. The workflow menu under Library Settings on the list ribbon allows you to add a workflow to your list

From here, you can select to Add a Workflow to your library. This will open the Add a Workflow page shown in Figure 2.

Figure 2. The first page of the out-of-the-box workflow wizard lets you configure its name, associated template, and start-up parameters

On the Add a Workflow page, you will find several options:

  • Select Workflow Template

  • Workflow Name

  • Task List

  • History List

  • Start Options

The template list displays all the workflows available to you for your library. For this example we use the Approval workflow for our Annual Newsletter Review. The task list is used to store tasks that are assigned during the workflow (in this case reviewer tasks). The history list is used by the workflow to store messages such as status, errors, and general feedback. See Table 1 for start-up options on workflows.

Table 1. Workflow Start-up Options Allow You to Control When the Workflow Is Initiated
NameDescriptionUse For ...Notes
Allow this workflow to be manually started.Lets a user manually initiate this workflow for an item.Letting users selectively run workflows on items.The default settings on workflows can be overridden by the user initiating the workflow.
Start this workflow to approve publishing a major version of an item.This workflow starts when a user marks (publishes) a document as a major version.Making sure published items get approvals. Uses the content approval feature, which keeps items in draft state until approved.Out-of-the-box workflows only. Only available for libraries with major versioning enabled.
Start this workflow when a new item is created.Automatically initiates the workflow when a new item is added or created.Ensuring workflows always run for newly added items (approvals and so on). 
Start this workflow when an item is changed.Automatically initiates the workflow when an existing item is modified.Ensuring that a workflow runs for modified items (approvals and so on). 

Once you have all options configured and click Next, the Properties page for the workflow opens (see Figure 3). This lets you define the default list of approvers among other values such as approval order, notification message, task due dates, and so on. When you elect to let users initiate the workflow manually, these settings can be overridden by the user who initiates the workflow. If you elect to start the workflow automatically, the default settings will always be used when the workflow begins.

Figure 3. Use the second page of the workflow wizard to set default settings for the workflow

Had we chosen a different workflow, the options presented to us in the properties page may be completely different. Indeed, certain workflows may not require default properties at all.

Other  
  •  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
  •  ASP.NET 4.0 : Data Source Components (part 6) - The LinqDataSource Class - The Goal of LinqDataSource , Programming Interface of the LinqDataSource Control
  •  ASP.NET 4.0 : Data Source Components (part 5) - The ObjectDataSource Control - Setting Up for Paging , Updating and Deleting Data
  •  ASP.NET 4.0 : Data Source Components (part 4) - The ObjectDataSource Control - Using Parameters, Caching Data and Object Instances
  •  ASP.NET 4.0 : Data Source Components (part 3) - The ObjectDataSource Control - Implementing Data Retrieval
  •  ASP.NET 4.0 : Data Source Components (part 2) - The SqlDataSource Control
  •  
    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