SlideShare a Scribd company logo
1 of 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

More Related Content

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

Similar to 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
 

More from Dirk Fahland

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 beyondDirk Fahland
 
Multi-Dimensional Process Analysis
Multi-Dimensional Process Analysis Multi-Dimensional Process Analysis
Multi-Dimensional Process Analysis Dirk Fahland
 
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 ...Dirk Fahland
 
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 ProcessesDirk 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
 
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 modelsDirk Fahland
 
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 LogsDirk Fahland
 
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 ComponentsDirk 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 ComponentsDirk Fahland
 
Repairing Process Models to Match Reality
Repairing Process Models to Match RealityRepairing Process Models to Match Reality
Repairing Process Models to Match RealityDirk Fahland
 
Process Mining for ERP Systems
Process Mining for ERP SystemsProcess Mining for ERP Systems
Process Mining for ERP SystemsDirk Fahland
 
Simplifying Mined Process Models
Simplifying Mined Process ModelsSimplifying Mined Process Models
Simplifying Mined Process ModelsDirk Fahland
 
The Process of Process Modeling
The Process of Process ModelingThe Process of Process Modeling
The Process of Process ModelingDirk Fahland
 
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 ModelsDirk Fahland
 

More from 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
 

Recently uploaded

Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 

Recently uploaded (20)

Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 

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