Docsity

Complex Gateways - Buisness Management - Lecture Slides, Slides of Business Administration

Partial preview of the text

Download Complex Gateways - Buisness Management - Lecture Slides and more Slides Business Administration in PDF only on Docsity!

Complex gateways

• Sometimes, it is not necessary to wait for all

active branches to complete:

In an order placement process, a quote is sought

from two preferred suppliers in parallel. As soon as

one of them provides a quote, the order placement

process may proceed. The second quote, if any, is

ignored.

Complex gateway example

Obtain Quote

from Supplier A

Obtain Quote

from Supplier B

QuoteA

QuoteB

QuoteA or QuoteB

Proceed to

place order...

Sub-processes: example

Check Purchase

Order

OK Payment

Order Handling Process

Payment Process

Issue Invoice

to Customer

Receive Payment

Notice from Bank

Confirm

Payment to

Customer

Process hierarchies

Access Credit Record

Process Inquity and Quote

Receive and Validate Order

Enter Order

Receive Order

Check Credit ...

Contact customer account rep.

Clear Order

Credit Available?

Level 3

Level 4

Level 5

Alternative: Arbitrary cycles

• Another way of capturing “repetition” is through “cycles”

• Choice between looping or cycles is often a matter of taste, but if

it is possible to meaningfully cluster the activities to be repeated

as a sub-process, looping is more suitable.

Exercise

After a claim is registered, it is examined by a

claims officer. The claims officer then writes a

“settlement recommendation”. This

recommendation is checked by a senior claims

officer who may mark the claim as “OK” or “Not

OK”. If the claim is marked as “Not OK”, it is sent

back to the claims officer and the examination is

repeated. If the claim is marked as “OK”, the

claims officer notifies the settlement to the

customer.

Event types (cont.)

Start Timer Event – Indicates that an instance of the

process is created at certain date(s)/time(s), e.g. start

process at 6pm every Friday

Intermediate Timer Event – Triggered at certain date(s)/

time(s), or after a time interval has elapsed since the

moment the event is “enabled”

Intermediate/End Compensate Event – Indicates that the

enclosing process must be compensated: the end version

generates the compensation event while the “intermediate”

version consumes it

End Link Event – Indicates that the process flow continues

elsewhere (e.g. in a separate diagram)

Start/Intermediate Link Event – Indicates that the process

flow is being picked up from a “previous” diagram”.

Intermediate/End Exception Event – Indicates an error: the

“end” version generates the exception event while the

“intermediate” version consumes it

Modelling with events - Example

A PO handling process starts when a PO is received.

The PO is first registered. If the current date is not a

working day, the process waits until the following

working day before proceeding.

Otherwise, an availability check is performed and a

“PO response” is sent back to the customer.

Anytime during the process, the customer may send a

“PO change request”. When such a request is

received, it is just registered, without further action.

Event-based decision

• With the XOR-split gateway, a branch is chosen

based on expressions that evaluate over

available data

 The choice can be made immediately after the

incoming flow fires

• Sometimes, the choice must be delayed until

something happens  choice is based on a race

between events

• This is why BPMN distinguishes data-driven and

event-driven XOR-splits

Event-based decision – Example

After a purchase order is sent, a customer can

receive either a “PO Response” or an error

message. It may happen that no response is

received at all. If no response is received after

24 hours or if an error message is received, the

purchasing officer should be notified. Otherwise,

the PO Response is processed normally.