White Paper BPMN 2.0 Task Types Explained



Similar documents
BPMN by example. Bizagi Suite. Copyright 2014 Bizagi

White Paper Business Process Modeling and Simulation

BPMN Business Process Modelling Notation

Quick Guide Business Process Modeling Notation (BPMN)

Process Modeling Notations and Workflow Patterns

Process Modeling using BPMN 2.0

Business Process Standards and Modeling

Introduction to BPMN

IBM Software Group. Introduction to BPMN. Stephen A. White, BPM Architect, IBM October 16, IBM Corporation

Go beyond 95: learn Business Process Management (BPM)! Razvan Radulian, MBA Independent Consultant/Coach Why-What-How Consulting, LLC

BPMN 2.0 Tutorial. Daniel Brookshier Distinguished Fellow No Magic Inc.

BPMN Fundamentals. BPMI Meeting #12. London, United Kingdom May 13-14, Stephen A. White, IBM Notation Working Group Chair

4.7 Business Process Model and Notation

Business Process Modeling Information Systems in Industry ( )

ITIL Incident Management Process & CRS Client Installation Training Class Outline

White Paper What Solutions Architects Should Know About The TOGAF ADM

The Business Process Model

INTRODUCTION TO BUSINESS PROCESS MODELING NOTATION BPMN 1.2 AND BPMN 2.0

MTAT Business Process Management (BPM) (for Masters of IT) Lecture 2: Introduction to BPMN

Refactoring BPMN Models: From Bad Smells to Best Practices and Patterns

OMG releases BPMN What's changed?

Process Modelling Notations

Bruce Silver Associates Independent Expertise in BPM

Modeling Business Processes with BPMN. Andrea Marrella

Business Process Modeling Notation. Bruce Silver Principal, BPMessentials

Business Process Modelling Notation A tutorial

BPMN 2.0 Descriptive Constructs

A process model is a description of a process. Process models are often associated with business processes.

Business Process Modelling. CA4 Business Process Modelling 1

(Refer Slide Time 00:56)

Analytics for Performance Optimization of BPMN2.0 Business Processes

Business Process Modeling with BPMN. Dr. Darius Šilingas Head of Solutions Department

SemTalk BPMN Tutorial APRIL Tutorial SemTalk 4.3 BPMN Edition for Business Process Analysis

SOA Enabled Workflow Modernization

Human-Readable BPMN Diagrams

BPMN Business Process Modeling Notation

Circles and Diamonds and Squares, Oh My! Demystifying the BPMN Standard

IT Service Continuity Management PinkVERIFY

Kaseya 2. User Guide. Version 1.0

Intellect Platform - The Workflow Engine Basic HelpDesk Troubleticket System - A102

Efficient BPMN: from Anti-Patterns to Best Practices

XPDL 2.0 and BPMN 1.0 Tutorial

Creating a Simple Business Collaboration Scenario With a BPMS

BIS 3106: Business Process Management. Lecture Two: Modelling the Control-flow Perspective

Model Simulation in Rational Software Architect: Business Process Simulation

Modeling Workflow Patterns

MEAP Edition Manning Early Access Program Activiti in Action MEAP version 2

Linking BPMN, ArchiMate, and BWW: Perfect Match for Complete and Lawful Business Process Models?

Help Desk Web User Guide

BPMN PATTERNS USED IN MANAGEMENT INFORMATION SYSTEMS

Monitoring BPMN-Processes with Rules in a Distributed Environment

SECTION 2 PROGRAMMING & DEVELOPMENT

Workflow Scenario: Trouble Ticket

BPM and Simulation. A White Paper. Signavio, Inc. Nov Katharina Clauberg, William Thomas

Business Process Management

From Business Process Models to Use Case Models

Modeling Guidelines Manual

J-Release Hands-on Training - BPMN 2.0 Support in webmethods BPMS

Oracle BPA Suite: Model and Implement Business Processes Volume I Student Guide

Computing & Telecommunications Services Monthly Report March 2015

A Closer Look at BPM. January 2005

IT HELP Desk Dashboard ManageEngine Service Desk Plus User Guide

Dr. Jana Koehler IBM Zurich Research Laboratory

SIEBEL PROFESSIONAL SERVICES AUTOMATION GUIDE

Business Process Modeling and Analysis with Savvion BusinessManager

Bruce Silver Associates Independent Expertise in BPM

The Workflow Management Coalition Specification Workflow Management Coalition Terminology & Glossary

Table of Contents INTRODUCTION... 2 HOME PAGE Announcements... 7 Personalize & Change Password... 8 Reminders... 9 SERVICE CATALOG...

Kentico CMS 7.0 E-commerce Guide

Eclipse BPMN Modeler Introducing Intalio Designer

1. WORKFLOW MANAGEMENT

Business Process Driven SOA using BPMN and BPEL

BPMN for OAGIS Scenarios

This document covers version of BPMN2 Modeler, published November 15, 2013.

Support Request System. User Guide

Table of Contents INTRODUCTION...2 HOME PAGE...3. Announcements... 6 Personalize... 7 Reminders... 9 Recent Items SERVICE CATALOG...

TickX Ticket system reinterpreted. TickX Microsoft SharePoint 2010/2013 Ticket System

BPMN VS. UML ACTIVITY DIAGRAM FOR BUSINESS PROCESS MODELING

PNMsoft Sequence Ticketing Solution (PSTS)

MEASURING SOFTWARE FUNCTIONAL SIZE FROM BUSINESS PROCESS MODELS

An Introduction to Business Process Modeling

Business Process Modelling with BPMN. Monique Snoeck Management Information Systems Group FEB KU Leuven

IBM Business Process Manager Version 8 Release 5. Hiring Tutorial IBM

MacFreelance Quick Reference

What is BPM? Software tools enabling BPM

Fixes for CrossTec ResQDesk

PeopleSoft HelpDesk. Maximized Operational Efficiency. Usability and Role-Based Access

Business Process (BPMN) Course

HP Service Manager. Software Version: 9.40 For the supported Windows and Linux operating systems. Request Management help topics for printing

Chapter 2 Introduction to Business Processes, BPM, and BPM Systems

Development Approach for Customized Testing Tools - Selecting Testing Tools Efficiently

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Transcription:

White Paper BPMN 2.0 Task Types Explained WP0093 August 2013 Tasks represent the most fundamental process elements, which define units of work in a process. In BPMN, a Task represents an atomic Activity that is included within a Process. So, a Task is used when the work in the Process is not broken down to a finer level of process model detail. In cases where an Activity can be further decomposed, Sub-Processes should be used. A Task object shares the same shape as the Sub- Process, which is a rectangle that has rounded corners. Both the Sub- Process and task share the same shape outline but a Sub-Process is differentiated with a + symbol, illustrating it can be expanded (Figure 1). Gregor Polančič Gregor is an assistant professor at the University of Maribor and has a decade of experience in BPMN since its first version Atomic BPMN Activities Compounded in 2004. He participated in the development of one of the first BPMN modeling utilities - a package of plugins for Visio, which were introduced in 2004 and is the main author Task Sub Process of the first BPMN poster. In 2008, he was one of the first authors who published an article dedicated to the experiences and practical use of BPMN. The article was published in BPM and Workflow Handbook in association with the Workflow Management Coalition (WfMC). He is currently researching BPMN from different technological and user aspects. 1 Figure 1: atomic (left) and compounded (right) BPMN Activity Access our free, extensive library at www.orbussoftware.com/community

Task type = service task Task BPMN 2.0 [1] defines several types of Tasks, which are differentiated by their attributes, behaviours and performers. These Task s specifics are graphically annotated with symbols within the Task element (Figure 2). Loop type = standard loop Task s attribute = compensation Figure 2: Task types specializations The top left corner of a Task element can include several different symbols which represent the Task type or the way a Task is performed. Generally, an end-user, an application, or both will perform the Task. The most common Task is an Abstract Task, which represents a Task with no specialized behaviour. The bottom side of a Task element can include symbols which represent Task s looping behaviour (normal looping, parallel multiple instance, and sequential multiple instance) as well as the graphical representation of a Compensation Task. A Task can also have a thick border, which would indicate a (calling) Global Task. BPMN 2.0 Task Types Descriptive set of BPMN 2.0 elements Abstract Task User Task Service Task Send Task Receive Task Manual Task Business Rule Script Task Different types of Tasks are identified within BPMN which separate the various inherent behaviours that Tasks might possess. The list of Task types may also be extended along with any corresponding indicators. As already mentioned, a Task which is not further specified is called an Abstract Task. As evident from Figure 3, the descriptive set of Figure 3: BPMN 2.0 Task Types BPMN 2.0 elements supports only three Tasks types: Abstract Task, User Task and Service Task. The remaining Task types are defined in the analytical set of BPMN 2.0 elements. The next sub-sections, will discuss the specific Task types along with examples of their use. User Task A User Task is a very common BPMN process, since it represents a typical workflow Task. A User Task is executed by a person, with the assistance of a process-aware application (e.g. a Business Process Management System BPMS). This means that the lifecycle of a User Task is managed by a software component (a Task Manager) and is typically executed in the context of a Process. User Tasks are assumed to be performed via an application s user interface, as in a BPMS. A User Task symbol must include a human figure marker on the top left side to 2

distinguish it from other Task types (Figure 4). Examples of User Tasks are the following: A customer fulfils an online registration form, A help-desk employee marks an open issue as resolved, An editor approves an article for publishing. Note that the above examples of User Tasks should be performed within the context of a workflow system or process-aware application. In the opposite case, if a Task is supported by a standalone IT system (in a non-bpms automated manner ), it shouldn t be typified as a User Task. In this case a Manual or Abstract Task should be used. Manual Task A Manual Task is another type of BPMN Task which requires human involvement to complete. In contrast to a User Task, a Manual Task is a Task that is expected to be performed without the aid of a business process execution engine or application (Figure 4). A Manual Task provides no system interface to the performer, so it is inherently not executable in a BPMS. Examples of Manual Tasks are as follows: A telephone technician installs a telephone at a customer location, A help desk issue is resolved via telephone call, A software engineer raises a new open issue. As evident from Figure 4, the User Task is performed with the assistance of a process-aware application, where the Manual Task is performed without the aid of a process-aware application. Customer Incident description Internet provider New incident Analyze the incident Solution The incident can be resolved remotely? YES NO Resolve the incident accoring to the solution Resolve the incident on customer s location Incident resolved Figure 4: Human interaction Tasks (user Task and manual Task) used in a simplified help-desk process 3

There is a difference when Manual Tasks (e.g. a User Task) and Automated Tasks (e.g. a Service Task) are performed. A Service Task is performed immediately - as soon as the sequence flow into it arrives, and the service provider is assumed to begin performing the business function immediately upon invocation. When the business function provided by the service is done, the Service Task is complete and the process continues. A User Task is assumed to wait for some time in the assigned performer s work list before task performance begins. Technically, when a process instance reaches a User Task, an entry (work item) is created immediately in the performer s work list, and the task becomes immediately available to be performed. This means that an activity has already started, even though the corresponding performer has not begun to work on it yet. Service Task As opposed to the User Task and Manual Task, a Service Task does not require any human interaction. It is completed automatically, by using some sort of an external service (outside the corresponding process execution environment ), which could be a Web service or an automated application (Figure 5). Examples of a Service Task are as follows: A payment processed by PayPal services, Storing an image in an online archive, Converting a price into a specific currency using an online currency converter. Script Task Another type of automated Task is the Script Task (Figure 5). In contrast to the Service Task, a Script Task is executed by a business process engine. Technically, a Script Task represents code, which can be executed on a process engine. The modeler or implementer defines the Task s script in a language that the engine can interpret. When the Task is ready to start, the engine will execute the script. When the script is completed, the Task will also be completed. Examples of a Script Task are as follows: According to Business Process Management Systems philosophy, the majority of process Tasks, should be performed in a decentralized way by using existing or external systems (Service Tasks) where new implementations (Script Tasks) should only glue together existing functions. Receive a new open help-desk issue and send to the operator, Calculate the total cost by summing product cost and shipping cost, Add a unique ID to a help-desk ticket. Customer Product order Online shop New order received Check product availability Calculate total costs Convert to customer s currency Mark as ready to send Order ready to send Obtained from an external software system Obtained from a web service Figure 5: Automated Tasks (service Task and script Task) used in a simplified online shop process 4

Send Task Throwing message intermediate event Figure 6: Sent Task and Intermediate throwing message event Send Task A Send Task (Figure 6) is a simple BPMN Task that is designed to send a Message to an external Participant (usually another BPMN Pool). Once the Message has been sent, the Task is completed. The actual Participant who sends the Message can be identified by connecting the Send Task to a Participant by using a Message Flow. Examples of a Send Task are as follows: Inform the collaborator that the process is finished, When the purchase is complete, send the invoice to the customer, When the article is published, inform the author. Send Task has the same behaviour as a throwing intermediate message event (Figure 6). However, when using a Task, one is able to attach a boundary event to capture the Task s exception conditions. Receive Task The Receive Task (Figure 6) is the opposite of the Send Task. It represents a simple Task that is designed to wait for a Message to arrive from an external Participant (usually another BPMN Pool). Once the Message has been received, the Task is completed. The actual Participant from which the Message is received can be identified by connecting the Receive Task to a Participant using a Message Flow. Examples of a Receive Task are as follows: Wait for author s approval before continuing with the publishing process, Wait for customer information to resolve an open issue, Begin with the delivery process as soon the shipping address is approved. Author Abstract Article suitable notification Article rejected notification Complete article NO Reject by topic Rejected Editor Abstract of an article received Check suitability Suitable? YES Send recommendations Complete article received Invoke reviewers Figure 7: Send and receive Tasks in a simplified authoring process 5

Receive Task Catching message intermediate event Figure 8: Sent Task and Intermediate throwing message event The analogue to Send Task, a Receive Task has the same behaviour as a catching intermediate message event (Figure 8) [2]. However, a boundary event can be attached to a Receive Event to capture a Task s exceptions. Since Send and Receive Tasks have the same behaviour as the corresponding intermediate message events, they do not have any performer, meaning that they are executed immediately when they are enabled. This means that they are suited for automated message exchange. If a message flow represents some form of human communication (e.g. phone, fax and verbal communication), a User Task should be used instead. A business rule represents a set of rules and conditions which can be used independently of a specific business process. This means that processes and rules should be considered as complementary rather than alternative ways of representing a business. Business Rule Tasks A Business Rule Task provides a mechanism for a Process to provide input to a Business Rules Engine, and to get the output of calculations that the Business Rules Engine might provide (Figure 7). Examples of a Business Rule Task are as follows: Define the priority of an open help-desk issue according to the user type, Calculate the insurance cost according to the user s profile, Send the appropriate product offer according to the user s behaviour. Customer Personal data New offer Insurrance company New offer Wait for personal data Customer s data Calculate risks Risks and price Send offer Offer completed Figure 9: Business Rule Task in a simplified personal insurance process Note that in case of Business Rule Tasks, the corresponding business rules aren t calculated by the process engine. Instead they are calculated by the business rule engine, which can represent an integral part of a BPMS (Figure 10). 6

Figure 10: Business process engine and business rule engine in a business process management system (BPMN) [Wikipedia.org] Yes User Task Manual BPMS support No Manual Task Abstract Task Execution type External system Service Task Automated Execution environment Process engine Script Task Business rule engine Business Rule Figure 11: A decision tree for selecting appropriate Task Type Conclusion This paper has presented BPMN 2.0 Task Types, as defined in the BPMN 2.0 specification, and has illustrated these through examples. BPMN 2.0 defines seven special Task types and an Abstract Task, which can be used in all other cases. Each Task Type is annotated by a specific graphic symbol on the top left side of the Task element. Figure 11 represents a decision tree which simplifies the selection of an appropriate Task Type. Beside the Task types presented in Figure 11, BPMN 2.0 also specifies the Send Task and Receive Task, which can be used in case of (automated) message exchange. 7

References [1] OMG, Business Process Model and Notation (BPMN) Version 2.0. Jun-2010. [2] B. Silver, BPMN method and style. Aptos Calif.: Cody-Cassidy Press, 2009. Copyright 2013 Orbus Software. All rights reserved. No part of this publication may be reproduced, resold, stored in a retrieval system, or distributed in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior permission of the copyright owner. Such requests for permission or any other comments relating to the material contained in this document may be submitted to: marketing@orbussoftware.com Orbus Software 3rd Floor 111 Buckingham Palace Road London SW1W 0SR United Kingdom +44 (0) 870 991 1851 enquiries@orbussoftware.com www.orbussoftware.com