SlideShare uma empresa Scribd logo
1 de 25
Dirk FahlandMassimiliano de LeoniBoudewijn F. van DongenWil M.P. van der Aalst Many-to-Many:Interaction in Artifact Choreographies ZEUS 2011, February, Karlsruhe
PAGE 1 A process that needs multiple instances 1 2
PAGE 2 A process that needs multiple instances 2 1 complex relations between service instances
PAGE 3 A process that needs multiple instances  2 1
PAGE 4 A process that needs multiple instances  2 1
PAGE 5 A process that needs multiple instances   2 1  complex relations between service instances
Data each process is founded in its data objects an order a delivery tour the data-objects can be in complex relations PAGE 6 The reason of complex relations + order delivery tour * * follow-up *
encapsulate each class of data objects in a service service behavior = data object life-cycle service interface = retrieve data, update data, … delivery tour order PAGE 7 Artifacts life-cycle life-cycle + order delivery tour * * follow-up *
wiring:relations between service instances (= objects) cardinality constraints expresshow many instances interact with each other PAGE 8 Choreography inherits relations delivery tour order + * life-cycle life-cycle * + * order delivery tour * + * follow-up *
PAGE 9 Formal notation: Proclets
order 1 order2 PAGE 10 Example execution create create delivery1 load split split 3 1 2
PAGE 11 Many instances talking to each other
Artifacts a service instance encapsulates a data object relations between data objects complex communications between service instances Two research problems addressing instances: correlation completing artifact choreographies PAGE 12 New Paradigm  New Problems
a set of corresponding communication events between a fixed set of instances C1: order1, delivery1 C2: order2, delivery1,	  delivery2 C3: order1, delivery2 conversations can overlap PAGE 13 Conversation
conversation = a set of related interaction events correlation: mechanism to define whether an event is part of a specific conversation key-based correlation: data-fields of the event same value  same conversation(e.g. orderID, deliveryID) available in BPEL and BPMN 2.0  PAGE 14 Correlation
<receive partnerLink="Buyer" portType="SP:PurchasingPT“operation="PurchaseRequest" variable="PO"><correlations><correlation set="PurchaseOrder" initiate="yes" /></correlations>  </receive>  ...  <invoke partnerLink="Buyer" portType="SP:BuyerPT„      operation="PurchaseResponse" inputVariable="POResponse"><correlations><correlation set="PurchaseOrder" initiate="no" />   <correlation set="Invoice" initiate="yes" /></correlations>  </invoke> PAGE 15 Correlation Handling in WS-BPEL incoming message: service instance now participates in the conversation C defined by PurchaseOrder outgoing message part of conversation C and initiates a new conversation C2 [wsbpel-v2.0-OS, page 81]
BPEL expresses correlation on a per-message basis two correlation patterns require more multiple consumption:one send event several receive events     in different instances dynamic list ofcorrelation values PAGE 16 Artifacts Require Stronger Correlation
atomic consumption:several send events indifferent instances one receive event dynamic list of sendevents correlation values notknown to receiver  OR-join problem PAGE 17 Artifacts Require Stronger Correlation PAGE 17
Artifacts a service instance encapsulates a data object relations between data objects: complex communications between service instances Two research problems addressing instances: correlation completing artifact choreographies PAGE 18 Two Research Problems
PAGE 19 Intuitively not allowed incompleteconversation
describe interaction between service instances from start to completion proposal: specify as an artifact again PAGE 20 Specify conversations
Replace channels with conversation artifact composition: synchronous, dynamic PAGE 21 Refine choreography
Given: artifact choreography with asynchronous channels correlation specification and desired properties, e.g.goal states per artifact + “no messages in channels” Wanted: conversation artifacts s.t. the composition satisfies the desired properties and artifacts fit correlation specification(e.g. each conversation artifact implements associated correlation properties) PAGE 22 New problem: choreography completion
Processes in reality are driven by data objects Artifacts: each service instance encapsulates a data objects Choreography: wiring reflects object relations Two new problems More involved correlation: which events belong to one conversation? Choreography completion: find the conversation protocol s.t. the choreography has desired properties PAGE 23 Take home points
Dirk Fahlandhttp://about.me/dirk.fahlandhttp://acsiproject.eu Many-to-Many:Interaction in Artifact-Choreographies

Mais conteúdo relacionado

Semelhante a Many-to-Many: Interactions in Artifact-Centric Choreographies (6)

Artifacts - Processes with Multiple Instances
Artifacts - Processes with Multiple InstancesArtifacts - Processes with Multiple Instances
Artifacts - Processes with Multiple Instances
 
J developer 11g components ppt
J developer 11g components pptJ developer 11g components ppt
J developer 11g components ppt
 
PHP/MySQL Programming Class Lecture 03
PHP/MySQL Programming Class Lecture 03PHP/MySQL Programming Class Lecture 03
PHP/MySQL Programming Class Lecture 03
 
Oracle
OracleOracle
Oracle
 
Business Process Execution Language
Business Process Execution LanguageBusiness Process Execution Language
Business Process Execution Language
 
Event Driven Architecture at NDDNUG
Event Driven Architecture at NDDNUGEvent Driven Architecture at NDDNUG
Event Driven Architecture at NDDNUG
 

Mais de Dirk Fahland

Multi-Dimensional Process Analysis
Multi-Dimensional Process Analysis Multi-Dimensional Process Analysis
Multi-Dimensional Process Analysis
Dirk Fahland
 
Process Mining: Past, Present, and Open Challenges (AIST 2017 Keynote)
Process Mining: Past, Present, and Open Challenges (AIST 2017 Keynote)Process Mining: Past, Present, and Open Challenges (AIST 2017 Keynote)
Process Mining: Past, Present, and Open Challenges (AIST 2017 Keynote)
Dirk Fahland
 
LSC Revisited - From Scenarios to Distributed Components
LSC Revisited - From Scenarios to Distributed ComponentsLSC Revisited - From Scenarios to Distributed Components
LSC Revisited - From Scenarios to Distributed Components
Dirk Fahland
 

Mais de Dirk Fahland (14)

Object-Centric Processes - from cases to objects and relations… and beyond
Object-Centric Processes - from cases to objects and relations… and beyondObject-Centric Processes - from cases to objects and relations… and beyond
Object-Centric Processes - from cases to objects and relations… and beyond
 
Multi-Dimensional Process Analysis
Multi-Dimensional Process Analysis Multi-Dimensional Process Analysis
Multi-Dimensional Process Analysis
 
Artifacts and Databases - the Need for Event Relation Graphs and Synchronous ...
Artifacts and Databases - the Need for Event Relation Graphs and Synchronous ...Artifacts and Databases - the Need for Event Relation Graphs and Synchronous ...
Artifacts and Databases - the Need for Event Relation Graphs and Synchronous ...
 
Describing, Discovering, and Understanding Multi-Dimensional Processes
Describing, Discovering, and Understanding Multi-Dimensional ProcessesDescribing, Discovering, and Understanding Multi-Dimensional Processes
Describing, Discovering, and Understanding Multi-Dimensional Processes
 
Process Mining: Past, Present, and Open Challenges (AIST 2017 Keynote)
Process Mining: Past, Present, and Open Challenges (AIST 2017 Keynote)Process Mining: Past, Present, and Open Challenges (AIST 2017 Keynote)
Process Mining: Past, Present, and Open Challenges (AIST 2017 Keynote)
 
Where did I go wrong? Explaining errors in process models
Where did I go wrong? Explaining errors in process modelsWhere did I go wrong? Explaining errors in process models
Where did I go wrong? Explaining errors in process models
 
Mining Branch-Time Scenarios From Execution Logs
Mining Branch-Time Scenarios From Execution LogsMining Branch-Time Scenarios From Execution Logs
Mining Branch-Time Scenarios From Execution Logs
 
From Live Sequence Chart Specifications to Distributed Components
From Live Sequence Chart Specifications to Distributed ComponentsFrom Live Sequence Chart Specifications to Distributed Components
From Live Sequence Chart Specifications to Distributed Components
 
LSC Revisited - From Scenarios to Distributed Components
LSC Revisited - From Scenarios to Distributed ComponentsLSC Revisited - From Scenarios to Distributed Components
LSC Revisited - From Scenarios to Distributed Components
 
Repairing Process Models to Match Reality
Repairing Process Models to Match RealityRepairing Process Models to Match Reality
Repairing Process Models to Match Reality
 
Process Mining for ERP Systems
Process Mining for ERP SystemsProcess Mining for ERP Systems
Process Mining for ERP Systems
 
Simplifying Mined Process Models
Simplifying Mined Process ModelsSimplifying Mined Process Models
Simplifying Mined Process Models
 
The Process of Process Modeling
The Process of Process ModelingThe Process of Process Modeling
The Process of Process Modeling
 
Behavioral Conformance of Artifact-Centric Process Models
Behavioral Conformance of Artifact-Centric Process ModelsBehavioral Conformance of Artifact-Centric Process Models
Behavioral Conformance of Artifact-Centric Process Models
 

Último

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 

Último (20)

How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 

Many-to-Many: Interactions in Artifact-Centric Choreographies

  • 1. Dirk FahlandMassimiliano de LeoniBoudewijn F. van DongenWil M.P. van der Aalst Many-to-Many:Interaction in Artifact Choreographies ZEUS 2011, February, Karlsruhe
  • 2. PAGE 1 A process that needs multiple instances 1 2
  • 3. PAGE 2 A process that needs multiple instances 2 1 complex relations between service instances
  • 4. PAGE 3 A process that needs multiple instances  2 1
  • 5. PAGE 4 A process that needs multiple instances  2 1
  • 6. PAGE 5 A process that needs multiple instances   2 1  complex relations between service instances
  • 7. Data each process is founded in its data objects an order a delivery tour the data-objects can be in complex relations PAGE 6 The reason of complex relations + order delivery tour * * follow-up *
  • 8. encapsulate each class of data objects in a service service behavior = data object life-cycle service interface = retrieve data, update data, … delivery tour order PAGE 7 Artifacts life-cycle life-cycle + order delivery tour * * follow-up *
  • 9. wiring:relations between service instances (= objects) cardinality constraints expresshow many instances interact with each other PAGE 8 Choreography inherits relations delivery tour order + * life-cycle life-cycle * + * order delivery tour * + * follow-up *
  • 10. PAGE 9 Formal notation: Proclets
  • 11. order 1 order2 PAGE 10 Example execution create create delivery1 load split split 3 1 2
  • 12. PAGE 11 Many instances talking to each other
  • 13. Artifacts a service instance encapsulates a data object relations between data objects complex communications between service instances Two research problems addressing instances: correlation completing artifact choreographies PAGE 12 New Paradigm  New Problems
  • 14. a set of corresponding communication events between a fixed set of instances C1: order1, delivery1 C2: order2, delivery1, delivery2 C3: order1, delivery2 conversations can overlap PAGE 13 Conversation
  • 15. conversation = a set of related interaction events correlation: mechanism to define whether an event is part of a specific conversation key-based correlation: data-fields of the event same value  same conversation(e.g. orderID, deliveryID) available in BPEL and BPMN 2.0 PAGE 14 Correlation
  • 16. <receive partnerLink="Buyer" portType="SP:PurchasingPT“operation="PurchaseRequest" variable="PO"><correlations><correlation set="PurchaseOrder" initiate="yes" /></correlations> </receive> ... <invoke partnerLink="Buyer" portType="SP:BuyerPT„ operation="PurchaseResponse" inputVariable="POResponse"><correlations><correlation set="PurchaseOrder" initiate="no" /> <correlation set="Invoice" initiate="yes" /></correlations> </invoke> PAGE 15 Correlation Handling in WS-BPEL incoming message: service instance now participates in the conversation C defined by PurchaseOrder outgoing message part of conversation C and initiates a new conversation C2 [wsbpel-v2.0-OS, page 81]
  • 17. BPEL expresses correlation on a per-message basis two correlation patterns require more multiple consumption:one send event several receive events in different instances dynamic list ofcorrelation values PAGE 16 Artifacts Require Stronger Correlation
  • 18. atomic consumption:several send events indifferent instances one receive event dynamic list of sendevents correlation values notknown to receiver  OR-join problem PAGE 17 Artifacts Require Stronger Correlation PAGE 17
  • 19. Artifacts a service instance encapsulates a data object relations between data objects: complex communications between service instances Two research problems addressing instances: correlation completing artifact choreographies PAGE 18 Two Research Problems
  • 20. PAGE 19 Intuitively not allowed incompleteconversation
  • 21. describe interaction between service instances from start to completion proposal: specify as an artifact again PAGE 20 Specify conversations
  • 22. Replace channels with conversation artifact composition: synchronous, dynamic PAGE 21 Refine choreography
  • 23. Given: artifact choreography with asynchronous channels correlation specification and desired properties, e.g.goal states per artifact + “no messages in channels” Wanted: conversation artifacts s.t. the composition satisfies the desired properties and artifacts fit correlation specification(e.g. each conversation artifact implements associated correlation properties) PAGE 22 New problem: choreography completion
  • 24. Processes in reality are driven by data objects Artifacts: each service instance encapsulates a data objects Choreography: wiring reflects object relations Two new problems More involved correlation: which events belong to one conversation? Choreography completion: find the conversation protocol s.t. the choreography has desired properties PAGE 23 Take home points