Chapter 8. Implementing Workflow

Workflow is the automation of a business process, during which documents are passed from one participant to another for action, according to a set of procedural rules. Every Content Management System implementation has its own workflow requirements. For some companies, workflow could be a simple approval process. For some companies, it could be a complex business process management system. Workflow provides ownership and control over the content and processes. In this chapter, you will learn about the basic, out-of-the-box workflow capabilities of Alfresco and the ways to extend it as per your business requirements.

By the end of this chapter, you will have learned how to:

  • Enable simple workflow for documents
  • Create email templates and set email notifications
  • Extend workflow to include multiple approval steps
  • Implement a complex workflow scenario for document lifecycle management
  • Start an advanced workflow from the list of predefined workflows
  • Assign documents and properties to the workflow
  • Take ownership of a task
  • Reassign a task
  • Change the workflow state of a task
  • List the tasks that are assigned to you and the tasks that have been completed by you
  • Cancel or abort the workflows that you have started
  • Create your own custom advanced workflow
  • Start workflow through business rules
  • Dynamically deploy workflows
  • Customize dashlet to see the workflow status

Introduction to the Alfresco workflow process

Alfresco includes two types of out of the box workflow. The first is the Simple Workflow, which is content-oriented, and the other is the Advanced Workflow, which is task-oriented.

The Simple Workflow process in Alfresco involves the movement of documents through various spaces. It is simple, as each workflow definition is restricted to a single state. Multiple states are achieved by loosely tying together multiple workflow definitions. Loose coupling is achieved by attaching a workflow definition to a space and a workflow instance to a content item. A content item is moved or copied to a new space at which point a new workflow instance is attached, which is based on the workflow definition of the space.

Note

A workflow definition is unaware of other related workflow definitions.

The Advanced Workflow process is task-oriented, where you create a task, attach documents that are to be reviewed, and assign it to appropriate reviewers. You can track the tasks assigned to you and the tasks that are initiated by you. You can change the status of the tasks, reassign the tasks to other users, and cancel a task. You can send various notifications to all of the parties involved, and track the tasks to closure. Alfresco provides this level of workflow ubiquitously, throughout its entire product. The same robust workflow capabilities are available in Document Management (DM), Records Management (RM), Web Content Management (WCM), and throughout our applications, which includes Alfresco Share.

You can use the out of the box features provided by both types of workflow, or you can create your own custom advanced workflow, according to the business processes of your organization.

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

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