Process Model versus PRPC Discovery Map

53
Process Model versus PRPC Discovery Map by Declan Chellar

description

A brief comparison of business process models and Pegasystems PRPC Discovery Maps.

Transcript of Process Model versus PRPC Discovery Map

Page 1: Process Model versus PRPC Discovery Map

Process Model versus PRPC Discovery Map

by Declan Chellar

Page 2: Process Model versus PRPC Discovery Map

Discovery Maps According to Pega

• A Discovery Map is a flexible process mapping tool that captures a project's high level processing steps in business terms.

• Steps are color-coded to indicate a flow shape:• Sub Process - Blue• Human Based Step - Green • Automated Step - Yellow• Integration - Red

(Pega Developers Network article PRKB-26125)

Page 3: Process Model versus PRPC Discovery Map

An Example Process Model

Page 4: Process Model versus PRPC Discovery Map

An Example Process Model

Based on a real process for making payments

against an account using a Credit Card.

Page 5: Process Model versus PRPC Discovery Map

An Example Process Model

This diagram reveals the top-level of the

process from start to all possible ends.

Page 6: Process Model versus PRPC Discovery Map

An Example Process Model

Sub-process can equate to Sub-process shapes on a Discovery Map.

Page 7: Process Model versus PRPC Discovery Map

An Example Process Model

But the nature of the business trigger cannot

be shown on a Discovery Map.

Page 8: Process Model versus PRPC Discovery Map

An Example Process Model

Nor can end results be shown on a Discovery

Map.

Page 9: Process Model versus PRPC Discovery Map

An Example Process Model

And manual steps cannot be shown on a

Discovery Map.

Page 10: Process Model versus PRPC Discovery Map

An Example Process Model

Branch points cannot be modelled on a Discovery Map.

Page 11: Process Model versus PRPC Discovery Map

An Example Process Model

Not least when those branch points reflect

human choices.

Page 12: Process Model versus PRPC Discovery Map

An Example Process Model

As a result, overall process flow cannot be

modelled in a Discovery Map.

Page 13: Process Model versus PRPC Discovery Map

Consider the amount of useful information in

this top-level business process model.

An Example Process Model

Page 14: Process Model versus PRPC Discovery Map

An Example Process Model

Then remove what Discovery Maps cannot

model at this level.

Page 15: Process Model versus PRPC Discovery Map

An Example Process Model

However, Discovery Maps represent

automated process flow.

Page 16: Process Model versus PRPC Discovery Map

What does Customer

want me to do next?

Whereas many top-level processes are user

driven.

An Example Process Model

Page 17: Process Model versus PRPC Discovery Map

What does Customer

want me to do next?

An Example Process Model

So the top level of the process cannot be

modelled as a single Discovery Map

Page 18: Process Model versus PRPC Discovery Map

An Example Process Model

Each sub-process becomes a DM on its own, losing the top

level view inside PRPC.

Page 19: Process Model versus PRPC Discovery Map

An Example Process Model

Let’s take a look inside one of the sub-

processes.

Page 20: Process Model versus PRPC Discovery Map

The “Take Payment” Sub-process

Page 21: Process Model versus PRPC Discovery Map

The “Take Payment” Sub-process

Let’s convert this sub-process into a

Discovery Map.

Page 22: Process Model versus PRPC Discovery Map

The “Take Payment” Sub-process

Any User/System interactions are

represented by green shapes.

Page 23: Process Model versus PRPC Discovery Map

Any steps the System carries out without

input from the User are yellow.

The “Take Payment” Sub-process

Page 24: Process Model versus PRPC Discovery Map

The “Take Payment” Sub-process

Except for steps where the System integrates with another system,

which are red.

Page 25: Process Model versus PRPC Discovery Map

The “Take Payment” Sub-process

An understanding of any manual steps is key

to understanding the business need.

Page 26: Process Model versus PRPC Discovery Map

The “Take Payment” Sub-process

But a Discovery Map cannot show manual

steps.

Page 27: Process Model versus PRPC Discovery Map

The “Take Payment” Sub-process

Nor can a Discovery Map show end results.

Page 28: Process Model versus PRPC Discovery Map

The “Take Payment” Sub-process

Or branch points and their alternate paths.

Page 29: Process Model versus PRPC Discovery Map

The “Take Payment” Sub-process

A Discovery Map does know the sequence of steps in the “Happy”

path.

Page 30: Process Model versus PRPC Discovery Map

The “Take Payment” Sub-process

By virture of the sequence in which you place the steps on the Discovery Map itself.

Input Payment Details

Check whether duplicate payment

Submit payment request to Bank

Display payment confirmation

Page 31: Process Model versus PRPC Discovery Map

The “Take Payment” Sub-process

But since a Discovery Map does not know

about branch points or alternate flows…

Page 32: Process Model versus PRPC Discovery Map

The “Take Payment” Sub-process

…it has no idea what the correct sequence of

alternate steps is or where they fit.

Input Payment Details

Check whether duplicate payment

Submit payment request to Bank

Display payment confirmation

Save payment details

Display error message

? ?

Page 33: Process Model versus PRPC Discovery Map

The “Take Payment” Sub-process

So alternate steps are lumped together after

a red divider on the Discovery Map.

Save payment details

Input Payment Details

Check whether duplicate payment

Submit payment request to Bank

Display payment confirmation

Display error message

Page 34: Process Model versus PRPC Discovery Map

The “Take Payment” Sub-process

Let’s remind ourselves of the wealth of

information in the visual process model.

Page 35: Process Model versus PRPC Discovery Map

The “Take Payment” Sub-process

Versus what the equivalent Discovery

Map can show us.

Save payment details

Input Payment Details

Check whether duplicate payment

Submit payment request to Bank

Display payment confirmation

Display error message

Page 36: Process Model versus PRPC Discovery Map

The “Take Payment” Sub-process

“A Discovery Map is a flexible process mapping tool that captures a project's high

level processing steps in business terms.” (Pega Developers Network)

Save payment details

Input Payment Details

Check whether duplicate payment

Submit payment request to Bank

Display payment confirmation

Display error message

Page 37: Process Model versus PRPC Discovery Map

The “Take Payment” Sub-process

PRPC can automatically generate a Flow Rule

from a Discovery Map.

Save payment details

Input Payment Details

Check whether duplicate payment

Submit payment request to Bank

Display payment confirmation

Display error message

Page 38: Process Model versus PRPC Discovery Map

Start

Check for Duplicate Payment

CapturePayment Details

Submit Payment Request to Bank

Display Confirmation

Display Error Message

Save Payment Details

Our Discovery Map would generate a Flow

Rule like this.

The “Take Payment” Sub-process

Page 39: Process Model versus PRPC Discovery Map

Start

Check for Duplicate Payment

CapturePayment Details

Submit Payment Request to Bank

Display Confirmation

Display Error Message

Save Payment Details

Notice the absence of branch points.

The “Take Payment” Sub-process

Page 40: Process Model versus PRPC Discovery Map

Start

Check for Duplicate Payment

CapturePayment Details

Submit Payment Request to Bank

Display Confirmation

Display Error Message

Save Payment Details

And how the alternate flows are poorly

represented.

The “Take Payment” Sub-process

Page 41: Process Model versus PRPC Discovery Map

Start

CapturePayment Details

Submit Payment Request to Bank

Display Confirmation

Display Error MessageSave

Payment Details

Duplicate Payment

ImmediatePayment

Not Duplicate

Future

Duplicate

Immediate

Submit Successful

Not Successful

Successful

The draft Flow Rule we really need would be

more like this.

The “Take Payment” Sub-process

Page 42: Process Model versus PRPC Discovery Map

But the DM cannot generate the actual

draft Flow Rule needed.

The “Take Payment” Sub-process

Start

CapturePayment Details

Submit Payment Request to Bank

Display Confirmation

Display Error MessageSave

Payment Details

Duplicate Payment

ImmediatePayment

Not Duplicate

Future

Duplicate

Immediate

Submit Successful

Not Successful

Successful

Page 43: Process Model versus PRPC Discovery Map

Recap

Save payment details

Input Payment Details

Check whether duplicate payment

Submit payment request to Bank

Display payment confirmation

Display error message

The Discovery Map is supposed to model the

business process.

Page 44: Process Model versus PRPC Discovery Map

Recap

Save payment details

Input Payment Details

Check whether duplicate payment

Submit payment request to Bank

Display payment confirmation

Display error message

But at best all it can model is this.

Page 45: Process Model versus PRPC Discovery Map

Recap

Instead of this.

Page 46: Process Model versus PRPC Discovery Map

Start

Check for Duplicate Payment

CapturePayment Details

Submit Payment Request to Bank

Display Confirmation

Display Error Message

Save Payment Details

The “Take Payment” Sub-process

A Discovery Map is supposed to generate a

Flow Rule.

Page 47: Process Model versus PRPC Discovery Map

Start

Check for Duplicate Payment

CapturePayment Details

Submit Payment Request to Bank

Display Confirmation

Display Error Message

Save Payment Details

The “Take Payment” Sub-process

But the best it can do is this.

Page 48: Process Model versus PRPC Discovery Map

Recap

Start

CapturePayment Details

Submit Payment Request to Bank

Display Confirmation

Display Error MessageSave

Payment Details

Duplicate Payment

ImmediatePayment

Not Duplicate

Future

Duplicate

Immediate

Submit Successful

Not Successful

Successful

Instead of this.

Page 49: Process Model versus PRPC Discovery Map

Recap

When you go into your DCO sessions armed

with this…

Page 50: Process Model versus PRPC Discovery Map

Recap

Start

CapturePayment Details

Submit Payment Request to Bank

Display Confirmation

Display Error MessageSave

Payment Details

Duplicate Payment

ImmediatePayment

Not Duplicate

Future

Duplicate

Immediate

Submit Successful

Not Successful

Successful

…it takes only minutes to produce this Flow

Rule manually.

Page 51: Process Model versus PRPC Discovery Map

Discovery Maps in Reality

• A Discovery Map is NOT flexible because it cannot model branch points or alternate flows.

• Because DM shapes indicate Flow Rule shapes, a DM does NOT model in business terms, but in PRPC implementation terms.

• A DM can only model what is to be implemented in PRPC, so does NOT model the entire business process.

Page 52: Process Model versus PRPC Discovery Map

Recommendation

• If you want to document business process within PRPC:1. Model the process using BPMN before your Pega

project starts2. Build your Flow Rules manually based on the

process models (it only takes minutes if your models are robust)

3. Attach the process model to the relevant Flow Rule (that is DCO too, you know)

Page 53: Process Model versus PRPC Discovery Map

WWW.CHELLAR.COM/BLOG