Presentation is loading. Please wait.

Presentation is loading. Please wait.

CRICOS No. 00213J a university for the world real R 1 Prof. Marcello La Rosa BPM Discipline Queensland University of Technology.

Similar presentations


Presentation on theme: "CRICOS No. 00213J a university for the world real R 1 Prof. Marcello La Rosa BPM Discipline Queensland University of Technology."— Presentation transcript:

1 CRICOS No. 00213J a university for the world real R 1 Prof. Marcello La Rosa BPM Discipline Queensland University of Technology

2 © Marcello La Rosa What types of exceptions there exist and how can we handle these in BPMN? What are the activities whose effects can be compensated for? Quick Repeat from Week 7 2

3 © Marcello La Rosa BPMN model types

4 © Marcello La Rosa Choreography Diagram Focuses on the interactions among two or more business parties.

5 © Marcello La Rosa Choreography Diagram (cont’ed) Interactions can be explicitly captured

6 © Marcello La Rosa Choreography Diagram (cont’ed) Pools can be dropped Used in place of data-based XOR-split if data used to take the decision is not “shared” by the parties via a preceding message

7 © Marcello La Rosa Choreography Process model of the interactions taking place between two or more business parties Focuses on message exchange between parties Acts as a contract between parties Can be refined into private processes or into a collaboration diagram

8 © Marcello La Rosa Choreography Task Represents an interaction between two business parties Either one-way (asynchronous) or two-way (synchronous) Atomic: max to messages being exchanged: request + response Distinction between initiating and receiving party (different band color) Receiving party (receiver or recipient) Initiating party (initiator or sender)

9 © Marcello La Rosa Choreography Task Band of initiating party unfilled Message icons optional, follow band colors Choreography Task Collaboration View

10 © Marcello La Rosa Basic Choreography Elements

11 © Marcello La Rosa Syntax: choreography sequencing constraints The initiator of a choreography activity must have been involved in the previous activity (excluding first activity) Why? Business Process Model and Notation, Page 338 OMG Document Number: formal/2011-01-03 January 2011

12 © Marcello La Rosa Syntax: choreography sequencing constraints Business Process Model and Notation, Page 339 OMG Document Number: formal/2011-01-03 January 2011

13 © Marcello La Rosa Example: Choreography of an auction A Seller sends information about an item they want to sell to an auction Provider. The Provider publishes the auction by offering the item to the Bidder. Once the auction has started the Bidder may place an offer. In case the item is sold the auction Provider finalises the purchase with the Buyer, otherwise the Provider notifies the Seller that his item has not been sold.

14 © Marcello La Rosa Solution: Choreography of an auction Decision taken by parties involved in the immediately preceding interaction, based on available data which was “shared” between the parties via a message in a preceding interaction. In this case, either Bidder or Auction Provider Initiator generally the same, but can be any party that is “aware” of the data used for the decision If data is not shared: use event-based XOR-split

15 © Marcello La Rosa Choreography Task – Internal Markers Only one of the loop or multi-instance applicable Loop Multi-instance Each instance of X sends a message to one instance of Y. Note: the number of instances of X and Y must be the same

16 © Marcello La Rosa Multi-instance Party marker Parties may be multi-instance, e.g. customers or shippers A message is sent to each instance of the multi-instance party One signal is broadcasted to all instances of the multi- instance party or number of instances known number of instances NOT known

17 © Marcello La Rosa Example: Choreography of an auction Where can we use the MI party in the auction example?

18 © Marcello La Rosa Sub-Choreography Compound activity of a choreography Involves at least two business parties Loop, MI activity and MI party markers are applicable Exact order of messages can only be seen when expanding the sub-choreography All we know from this is that A sends a message to B and then C is involved Bands beyond first two are optional and their position is irrelevant

19 © Marcello La Rosa All parties involved in the interactions following the split must be involved in the interaction(s) immediately preceding the split, to be aware of the timer The interactions following an event- based split must all have the same receiver or the same initiator, which must be involved in the interaction(s) immediately preceding the split What is this choreography doing?

20 © Marcello La Rosa Use this diagram as a template to build the corresponding collaboration diagram From Choreography to Collaboration diagram

21 © Marcello La Rosa A possible solution

22 © Marcello La Rosa So, what’s the difference between collaboration and choreograph diagrams?

23 © Marcello La Rosa References Dumas M., La Rosa M., Mendling J., Reijers, H. (2013): Fundamentals of BPM. Section 4.7 of Chapter 4

24 © INB/INN320 1.2/2012 – 25 July 2013 Prof. Marcello La Rosa IS School Academic Director (Corporate Programs and Partnerships) BPM Discipline, IS School Science & Engineering Faculty Queensland University of Technology 2 George Street Brisbane QLD 4000 Australia p +61 (0)7 3138-9482 e m.larosa@qut.edu.au w www.marcellolarosa.com


Download ppt "CRICOS No. 00213J a university for the world real R 1 Prof. Marcello La Rosa BPM Discipline Queensland University of Technology."

Similar presentations


Ads by Google