programming4us
programming4us
WEBSITE

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

- How To Install Windows Server 2012 On VirtualBox
- How To Bypass Torrent Connection Blocking By Your ISP
- How To Install Actual Facebook App On Kindle Fire

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
    - Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
    - Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
    - Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
    - Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
    - Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
    - Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
    - Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
    - Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
    - Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
    - Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
    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)
    programming4us programming4us
    Celebrity Style, Fashion Trends, Beauty and Makeup Tips.
    programming4us
     
     
    programming4us