CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

68
CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS

Transcript of CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Page 1: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

CHAPTER FIVE

Dr. Rami Gharaibeh

BUSINESS PROCESS MODELS

Page 2: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

A business process model describes tasks and the ordering of these tasks: what work is performed and when it is performed. A business process model also captures who performs the tasks.

CHAPTER FIVE

Description

Page 3: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

smooth businesses vs. rough businesses

all restaurants pursue the same goals of serving food for hungry customers, but they differ in the details of their business processes. They greet customers differently, they take reservations differently, and they prepare dinners differently.

CHAPTER FIVE

Importance

Page 4: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

An activity is a discrete chunk of work, something with a beginning and an end, that is performed

one or more times.

Typically an activity is one step of a larger business process. For example, Serve Appetizers is part of the larger business process Serve Meal. There are other activities within Serve Meal, including Serve Entrees and Serve Desserts.

CHAPTER FIVE

Activities

Page 5: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

Every activity performs work.

when a call is made to a help desk, instead the call is a trigger for the first help desk activity, Get Caller Info.

activities rarely appear by themselves. Instead, several activities typically appear together as part of a larger process.

CHAPTER FIVE

Activities

Page 6: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

A sequence flow is a connection between two activities, showing that one activity is performed before the other. A sequence flow is shown as a solid line with an arrow, from the activity performed first to the activity performed next. A sequence flow is usually unlabeled and is never labeled with a deliverable.

CHAPTER FIVE

Sequence flows

Page 7: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

Activity attributes capture details of the work.

Name Description Time Resource (role) Cost

CHAPTER FIVE

Activity attributes

Page 8: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

Activity Name

Activity names are short, typically no longer than four words, and better when they are two or three words. The name of an activity need not convey the details of the way the activity is performed. Names start with a verb.

CHAPTER FIVE

Activity attributes

Page 9: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

Activity Description

The description of an activity gives more detail about the work, what it means, and how it is performed.

A description typically notes whether a software application is used to perform the activity. If an application is used, the description includes the way the person interacts with the application.

CHAPTER FIVE

Activity attributes

Page 10: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

Activity Descriptionexample

Check the reservation book to see whether the reservation exists. Verify that the party arrived before the reservation time.

Use the reservation system to check whether the reservation exists, searching for the reservation by name or by time. Verify that the party is not late, that they have arrived before the reservation expires.

CHAPTER FIVE

Activity attributes

Page 11: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

Activity Time

Activities are temporal. Each activity takes time to complete. Some activities are fast, taking seconds. Other activities are slow, taking months.

CHAPTER FIVE

Activity attributes

Page 12: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

Activity Time

Often there are delays: delays before the work, delays during the work, delays because of the work.

CHAPTER FIVE

Activity attributes

Page 13: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

Activity Time

It is important for subsequent process analysis to capture these times. If the business process is simulated, the activity times are used by the simulation engine.

CHAPTER FIVE

Activity attributes

Page 14: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

Activity Resource (role)

Typically an activity is performed by a person, the person who does the work of the activity. This person is called the activity’s resource.

Of course different people perform the same activity at different times. So the resource of an activity is not a single person but a role.

CHAPTER FIVE

Activity attributes

Page 15: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

Activity Cost

People do not work for free. Every resource has a cost, and the cost varies from role to role and from person to person. Details about costs of the resources are useful to understand the end-to-end cost of a process.

CHAPTER FIVE

Activity attributes

Page 16: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

Manual vs. IT-supported

Some activities are manual work, performed by a resource without any assistance (welcoming an arriving party).some activities are supported by technology (looking up names in a reservations system).

CHAPTER FIVE

Activity attributes

Page 17: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

Software activities

Some activities are solely software, performed entirely by a software application, with no person involved.

In this solely software activity, the application does not support a (human) resource who is performing the activity. Instead the application is the sole resource performing the activity.

CHAPTER FIVE

Activity attributes

Page 18: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

Software activities

Business process modeling is not about modeling software; it is about modeling the work that people do. Solely software activities are uncommon in good business process models.

CHAPTER FIVE

Activity attributes

Page 19: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

A business process has a beginning and an end. A process begins with a start event and ends with an end event. All the activities of the business process— the actual work performed—occur after the start event and before the end event.

CHAPTER FIVE

Events

Page 20: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

Activity names are typically imperative sentences; they sound like commands. The verb is at the beginning of the name. The name of a start event is typically a declarative sentence, describing something that happens. The verb is at the end.

CHAPTER FIVE

Events

Page 21: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

Most processes have multiple end events. Diners might leave after eating and paying, or they might leave early, disgruntled by long delays in their restaurant experience. They might even leave before they are seated, after waiting too long for a table, or because they are called out to perform emergency surgery. A process can also have multiple start events, showing different ways that work begins.

CHAPTER FIVE

Events

Page 22: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

Some processes have an intermediate event, an event that happens after the process starts but before it ends. Many intermediate events model delays. Like start events, the name of an intermediate event is also a declarative sentence.

CHAPTER FIVE

Intermediate Events

Page 23: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

Events of all three varieties can have descriptions, just as an activity can have a description.

CHAPTER FIVE

Event Description

Page 24: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

Events also support other attributes. Start events record detail about when work starts.

For example, Diner Arrives includes attributes modeling how often dining parties arrive, how many on which night of the week, the sizes of the parties, and so on.

These attributes are used for process simulation.

CHAPTER FIVE

Event Description

Page 25: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

A business process model graphically shows who performs which activities. Each role that performs activities in a business process has a lane.

When a customer is shown, the customer is usually the top lane.

Putting the customer on top is a common convention that makes business process models easier to read.

CHAPTER FIVE

Lanes

Page 26: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

CHAPTER FIVE

Lanes

Page 27: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

When a process model has more than two lanes, the modeler must decide which lane is placed where.

A good rule of thumb is to place lanes to minimize sequence flow

CHAPTER FIVE

Lanes

Page 28: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

We use a gateway to model sequence flow alternatives. A gateway is depicted as a diamond shape. Multiple sequence flows exit a gateway.

Gateways are named. The name of a gateway is a question, with the alternative answers to the question as labels on the outgoing sequence flows.

CHAPTER FIVE

Gateways

Page 29: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

CHAPTER FIVE

Gateways

Page 30: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

CHAPTER FIVE

Gateways

Page 31: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

The previous gateways are exclusive gateways. With an exclusive gateway, either one sequence flow is taken or the other is taken.

But not every gateway is an exclusive gateway. A parallel gateway starts parallel work—two (or more) sequence flows that then progress at the same time, perhaps to be later joined back together by another parallel gateway.

CHAPTER FIVE

Parallel Gateways

Page 32: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

CHAPTER FIVE

Parallel Gateways

Page 33: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

But what happens if a dining party orders just entrees, without any appetizers?

Instead of using a parallel gateway, this situation can be modeled with an inclusive gateway.

CHAPTER FIVE

Inclusive Gateways

Page 34: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

An inclusive gateway allows either outgoing sequence flow to be taken or both to be taken in parallel. A party can order just appetizers, just entrees, or both appetizers and entrees.

CHAPTER FIVE

Inclusive Gateways

Page 35: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

CHAPTER FIVE

Inclusive Gateways

Page 36: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

The behavior of the first gateway—Split Order—is a bit complex. When a work arrives at Split Order, sometimes it needs to travel the upper path, sometimes the lower path, and sometimes work needs to be split so that the two paths can occur in parallel.

CHAPTER FIVE

Inclusive Gateways

Page 37: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

Chapter 11 describes how to simulate an inclusive gateway, providing percentages (for example) for how often the upper and lower paths are taken.

CHAPTER FIVE

Inclusive Gateways

Page 38: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

One of the outgoing sequence flows from a gateway can be marked as a default. A default sequence flow is the one taken if there is no reason to take another sequence flow.

CHAPTER FIVE

Default SF & Conditional SF

Page 39: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

CHAPTER FIVE

Default SF & Conditional SF

Page 40: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

CHAPTER FIVE

Default SF & Conditional SF

Page 41: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

Some activities are atomic; there is no more detail about the activity than its name, its description, and its attributes. Such activities are called tasks.A sub-process is an activity that has this extra detail, that can itself be described as a process.

CHAPTER FIVE

Sub-processes

Page 42: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

CHAPTER FIVE

Sub-processes

Page 43: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

CHAPTER FIVE

Sub-processes

What if we press on “seat party”?

Page 44: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

CHAPTER FIVE

Sub-processes

Page 45: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

The previous sub-process is “independent”the sub-process could be “embedded”

CHAPTER FIVE

Sub-processes

Page 46: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

A dining party might leave rather than wait for a table. Actually, a party could leave at any time—just after they arrive or when they learn of a wait, while waiting or after they see a menu. They might leave during the meal because their child is misbehaving or because someone in the party becomes sick.

CHAPTER FIVE

Compensation & other Conditions

Page 47: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

There are many potential departures. It is possible to model all these potential departures with gateways. One could introduce a gateway after every activity, asking whether the dining party leaves now. The process model would then be full of gateways, all to model the situation of a dining party leaving early. Obviously, such a model is awkward.

CHAPTER FIVE

Compensation & other Conditions

Page 48: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

Instead of using dozens of gateways, we model the potential for departure at any time with a single exception flow.

An exception flow is a sequence flow triggered by an exception—an intermediate event that occurs sometime during the course of a sub-process.

CHAPTER FIVE

Compensation & other Conditions

Page 49: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

CHAPTER FIVE

Exception Flow

Page 50: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

CHAPTER FIVE

Practice

Build a business process for controlling the entrance to JUST

Page 51: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

A business transaction is a collection of activities that must either complete successfully or must be rolled back in their entirety, as though none of the activities had never been performed

CHAPTER FIVE

Business Transactions

Page 52: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

CHAPTER FIVE

Business Transactions

Page 53: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

CHAPTER FIVE

Business Transactions

The activity is a transaction

Page 54: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

CHAPTER FIVE

Business Transactions

Cancel trigger

Page 55: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

CHAPTER FIVE

Business Transactions

Compensation activity

Page 56: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

CHAPTER FIVE

Business Transactions

Compensation trigger

Page 57: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

cancel trigger vs. exception trigger

CHAPTER FIVE

Business Transactions

No compensation activityCompensation activity

Page 58: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

We model multiple processes and the interactions between those processes using pools.

A pool is a horizontal container for other process elements:

• activities• events• gateways

CHAPTER FIVE

Pools

Page 59: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

A pool can contain lanes, and usually does.

CHAPTER FIVE

Pools

Page 60: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

CHAPTER FIVE

Pools

Page 61: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

The interaction between the pools occurs in message flows, shown as dashed lines.

A message flow is different from a sequence flow. A message flow is used to connect activities (or events) that are in different pools.

Message flows resemble faxes, emails,Web service invocations, telephone calls, even in-person visits.

CHAPTER FIVE

Pools

Page 62: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

white box pool vs. black box pool

CHAPTER FIVE

Pools

Page 63: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

CHAPTER FIVE

Pools

Page 64: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

should we consider the customer as a pool?

CHAPTER FIVE

Pools

Page 65: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

It is common to have a single as-is process model and several different to-be process models.

Several alternatives are evaluated to decide which is the best business processes for the future. Depending on the evaluation goals, we could decide on a to-be model that takes the least amount of time to complete the work. Alternatively, we might decide on the to-be model that best improves customer quality.

CHAPTER FIVE

as-is and to-be models

Page 66: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

The BPMN Standard

CHAPTER FIVE

Self-reading

Page 67: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

U.S. Customs and Border Protection

CHAPTER FIVE

Case Study

Page 68: CHAPTER FIVE Dr. Rami Gharaibeh BUSINESS PROCESS MODELS.

Dr. Rami Gharaibeh

CREATING A GOOD MODEL

CHAPTER SEVEN