Creating workflows

Workflows are associated with either a document in a library, a list item in a list, or a Site workflow. The steps to create these workflows are the same.

In this section, we are going to look at creating pre-built workflows with libraries, lists, and sites.

Scenario: A user creates a document, and then that document is routed to the appropriate parties for some type of approval prior to being accepted as an authentic organizational artifact. It usually contains an approval/rejection decision, along with a comments section indicating why the particular decision was made.

The approval workflow is typically the most common workflow found in an organization as most simple approvals only require a 'Yes, this is fine' level of approval.

Note

The approval workflow functionality is not available with SharePoint Foundation.

To create an approval workflow, the following steps should be applied:

  1. Open a document library.
  2. Select the Library tab and look to the right-hand corner of the Ribbon.
  3. Select the Workflow Settings drop-down and select Add a Workflow.
    Creating workflows
  4. Select Approval - SharePoint 2010 workflow. Give the workflow a name.
    Creating workflows
  5. Keep the Task List and History List default settings.
  6. Uncheck the selected checkbox under Start Options, and select the checkbox for Start this workflow when a new item is created. The workflow will start automatically each time a new document is created in this library.
    Creating workflows
  7. Click Next.
  8. Select an approver for the document (you can select one or more serial approvers). These approvers will always be the approvers for this workflow in this library.
  9. Type in a message for the approver(s).
    Creating workflows
  10. Enter an appropriate due date for the approval task.
  11. Enter an appropriate duration for the approval task.

    Note

    The due date and duration should be set so approvers can approve the item without reminders being sent out to them. Obviously, the workflow is a priority to the submitter, but this does not mean it is for the approvers.

  12. Select the duration units.
    Creating workflows
  13. Decide whether or not to CC anyone during the approval process.
  14. Select options for First Rejection, Document Change, and Content Approval.
  15. Click Save.

The next time that a document is created in this document library this workflow will start an approval task for the approver(s) you specified. The workflow will continue, based on all of the options you selected previously, until it reaches its logical conclusion: Approved or Rejected.

The instructions stated previously define the workflow to be started when the item is created in a library or list. In step 6, there was an option to start a workflow manually. This workflow trigger is useful when a workflow process is more ad hoc. To start a workflow manually:

  1. Click the downward menu arrow on the document/item.
  2. Select Workflows
    Creating workflows
  3. Choose a workflow associated with the list.
Creating workflows

The other predefined workflows can be created by following the steps of the preceding instructions. These workflows are discussed later in this chapter.

Workflow architecture

A workflow is associated with a library or list, but the user approves/rejects tasks in a Task List in the Team Site. This task list will list all the approval tasks of all associated initiations of a workflow.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.116.60.62