SlideShare a Scribd company logo
1 of 14
BPMN Method & Style
CHAPTER 10
Transactions
1
2
Outlines
• ACID Transactions
• Business Transactions
• Compensation Boundary Event & Compensating Activity
3
The term transaction refers to the coordinated execution of multiple
activities such that they either all complete successfully or the system
is restored to a state equivalent to none of them completing.
Transactions
4
ACID Transactions
ACID stands for:
Atomic – indivisible, all-or-nothing behavior.
Consistent – preventing an inconsistent state of the system, such as a
debit with no corresponding credit.
Isolated – the systems managing each account are locked during execution
of the transaction.
Durable – the state of the participating systems is stored in a database, not
just in memory, so it can be restored in case of a crash.
ACID relates to Distributed Database Operations
5
6
Example: electronic funds transfer in a bank.
The transaction debits one account and credits another account. This requires the
coordinated action of two databases (two independent systems). If, for some reason,
the debit and the credit cannot both be executed simultaneously.
In IT systems, ACID transactions are using
a special protocol called Two-phase
Commit.
Transaction manager software, first
communicates with the various resources
performing each side of the debit and the
credit, to ensure they are all ready to execute.
Two-phase Commit Protocol
Transaction Manager
7
Two-phase Commit Protocol
8
Business Transactions
• Business processes work as Transactional subprocess,
• means that its component activities must either all complete successfully or
the subprocess must be restored to its original consistent state.
• Business Transactions are usually not ACID transactions coordinated via
two-phase commit. The reason is they fail the I, or isolation.
• the transaction must be short-running, taking milliseconds to complete.
9
Compensation Boundary Event and Compensating Activity
• The Compensation boundary event is used to link an activity to its undoing,
or compensating activity.
• It has an association linking it to a single compensating activity.
• a Compensation boundary event can only be triggered after the attached
activity completes successfully. If the activity has not started or is still running
when the transaction fails, or if the activity itself completes unsuccessfully, its
compensating activity will not run.
10
Determine yearly employee incentive
11
Cancel Event
• The Cancel event, with the X icon, is a special form of Error event that may
only be used with transactional subprocesses.
• It is used when the source of transaction failure is within the transaction
subprocess.
• Cancel supports throw catch from an end event of the transactional
subprocess to a boundary event or event subprocess.
12
Figure 10-4. Transaction compensation, simple case
Travel Booking Example
13
Figure 10-5. Transaction compensation, complex case
14
END.

More Related Content

Similar to method_style_ch10.pptx

Reactive systems zJava VIII
Reactive systems zJava VIIIReactive systems zJava VIII
Reactive systems zJava VIIIWojciech Nowak
 
Spring Transaction Management
Spring Transaction ManagementSpring Transaction Management
Spring Transaction ManagementYe Win
 
Automation of Accounting process & Advantages/Disadvantages of Computerized a...
Automation of Accounting process & Advantages/Disadvantages of Computerized a...Automation of Accounting process & Advantages/Disadvantages of Computerized a...
Automation of Accounting process & Advantages/Disadvantages of Computerized a...Muhammed Raashid
 
Transaction processing ppt
Transaction processing pptTransaction processing ppt
Transaction processing pptJaved Khan
 
Distributed datababase Transaction and concurrency control
Distributed datababase Transaction and concurrency controlDistributed datababase Transaction and concurrency control
Distributed datababase Transaction and concurrency controlbalamurugan.k Kalibalamurugan
 
Award Winning Cash Application Automation Software by Rimilia
Award Winning Cash Application Automation Software by RimiliaAward Winning Cash Application Automation Software by Rimilia
Award Winning Cash Application Automation Software by Rimiliarimilia
 
Stream Processing and Complex Event Processing together with Kafka, Flink and...
Stream Processing and Complex Event Processing together with Kafka, Flink and...Stream Processing and Complex Event Processing together with Kafka, Flink and...
Stream Processing and Complex Event Processing together with Kafka, Flink and...HostedbyConfluent
 
Transaction Processing Concept
Transaction Processing ConceptTransaction Processing Concept
Transaction Processing ConceptNishant Munjal
 
Unit 4 chapter - 8 Transaction processing Concepts (1).pptx
Unit 4 chapter - 8 Transaction processing Concepts (1).pptxUnit 4 chapter - 8 Transaction processing Concepts (1).pptx
Unit 4 chapter - 8 Transaction processing Concepts (1).pptxKoteswari Kasireddy
 
Automating PeopleSoft Segregation of Duties: HCM and Financials
Automating PeopleSoft Segregation of Duties: HCM and FinancialsAutomating PeopleSoft Segregation of Duties: HCM and Financials
Automating PeopleSoft Segregation of Duties: HCM and FinancialsSmart ERP Solutions, Inc.
 
Petty Cash Management - Introduction to the Petty Cash Management Module
Petty Cash Management - Introduction to the Petty Cash Management ModulePetty Cash Management - Introduction to the Petty Cash Management Module
Petty Cash Management - Introduction to the Petty Cash Management ModuleDavid Olson
 
24. Advanced Transaction Processing in DBMS
24. Advanced Transaction Processing in DBMS24. Advanced Transaction Processing in DBMS
24. Advanced Transaction Processing in DBMSkoolkampus
 
Transaction and concurrency pitfalls in Java
Transaction and concurrency pitfalls in JavaTransaction and concurrency pitfalls in Java
Transaction and concurrency pitfalls in JavaErsen Öztoprak
 
Part 1 A Simple Introduction to Complex Event Processing
Part 1 A Simple Introduction to Complex Event ProcessingPart 1 A Simple Introduction to Complex Event Processing
Part 1 A Simple Introduction to Complex Event ProcessingWoojin Joe
 
JS Fest 2019/Autumn. Anton Cherednikov. Choreographic or orchestral architect...
JS Fest 2019/Autumn. Anton Cherednikov. Choreographic or orchestral architect...JS Fest 2019/Autumn. Anton Cherednikov. Choreographic or orchestral architect...
JS Fest 2019/Autumn. Anton Cherednikov. Choreographic or orchestral architect...JSFestUA
 

Similar to method_style_ch10.pptx (20)

Reactive systems zJava VIII
Reactive systems zJava VIIIReactive systems zJava VIII
Reactive systems zJava VIII
 
Spring Transaction Management
Spring Transaction ManagementSpring Transaction Management
Spring Transaction Management
 
Automation of Accounting process & Advantages/Disadvantages of Computerized a...
Automation of Accounting process & Advantages/Disadvantages of Computerized a...Automation of Accounting process & Advantages/Disadvantages of Computerized a...
Automation of Accounting process & Advantages/Disadvantages of Computerized a...
 
Grails services
Grails servicesGrails services
Grails services
 
Transaction processing ppt
Transaction processing pptTransaction processing ppt
Transaction processing ppt
 
Distributed datababase Transaction and concurrency control
Distributed datababase Transaction and concurrency controlDistributed datababase Transaction and concurrency control
Distributed datababase Transaction and concurrency control
 
Transaction management transparencies
Transaction management transparenciesTransaction management transparencies
Transaction management transparencies
 
11 bpm
11 bpm11 bpm
11 bpm
 
Award Winning Cash Application Automation Software by Rimilia
Award Winning Cash Application Automation Software by RimiliaAward Winning Cash Application Automation Software by Rimilia
Award Winning Cash Application Automation Software by Rimilia
 
Stream Processing and Complex Event Processing together with Kafka, Flink and...
Stream Processing and Complex Event Processing together with Kafka, Flink and...Stream Processing and Complex Event Processing together with Kafka, Flink and...
Stream Processing and Complex Event Processing together with Kafka, Flink and...
 
Transaction Processing Concept
Transaction Processing ConceptTransaction Processing Concept
Transaction Processing Concept
 
Unit 4 chapter - 8 Transaction processing Concepts (1).pptx
Unit 4 chapter - 8 Transaction processing Concepts (1).pptxUnit 4 chapter - 8 Transaction processing Concepts (1).pptx
Unit 4 chapter - 8 Transaction processing Concepts (1).pptx
 
Automating PeopleSoft Segregation of Duties: HCM and Financials
Automating PeopleSoft Segregation of Duties: HCM and FinancialsAutomating PeopleSoft Segregation of Duties: HCM and Financials
Automating PeopleSoft Segregation of Duties: HCM and Financials
 
Petty Cash Management - Introduction to the Petty Cash Management Module
Petty Cash Management - Introduction to the Petty Cash Management ModulePetty Cash Management - Introduction to the Petty Cash Management Module
Petty Cash Management - Introduction to the Petty Cash Management Module
 
SAP Treasury management
SAP Treasury managementSAP Treasury management
SAP Treasury management
 
24. Advanced Transaction Processing in DBMS
24. Advanced Transaction Processing in DBMS24. Advanced Transaction Processing in DBMS
24. Advanced Transaction Processing in DBMS
 
Transaction and concurrency pitfalls in Java
Transaction and concurrency pitfalls in JavaTransaction and concurrency pitfalls in Java
Transaction and concurrency pitfalls in Java
 
Part 1 A Simple Introduction to Complex Event Processing
Part 1 A Simple Introduction to Complex Event ProcessingPart 1 A Simple Introduction to Complex Event Processing
Part 1 A Simple Introduction to Complex Event Processing
 
Introduciton to bpmn
Introduciton to bpmn Introduciton to bpmn
Introduciton to bpmn
 
JS Fest 2019/Autumn. Anton Cherednikov. Choreographic or orchestral architect...
JS Fest 2019/Autumn. Anton Cherednikov. Choreographic or orchestral architect...JS Fest 2019/Autumn. Anton Cherednikov. Choreographic or orchestral architect...
JS Fest 2019/Autumn. Anton Cherednikov. Choreographic or orchestral architect...
 

More from ssuser0d0f881

BK 1 Unit 5 to 8 Present Simple Do Does.ppt
BK 1 Unit 5 to 8 Present Simple Do Does.pptBK 1 Unit 5 to 8 Present Simple Do Does.ppt
BK 1 Unit 5 to 8 Present Simple Do Does.pptssuser0d0f881
 
Traditional-Based Learning Vs Program-Based Learning.pptx
Traditional-Based Learning Vs Program-Based Learning.pptxTraditional-Based Learning Vs Program-Based Learning.pptx
Traditional-Based Learning Vs Program-Based Learning.pptxssuser0d0f881
 
Information and documentation, Records management, Concepts and principles.pptx
Information and documentation, Records management, Concepts and principles.pptxInformation and documentation, Records management, Concepts and principles.pptx
Information and documentation, Records management, Concepts and principles.pptxssuser0d0f881
 
Service-oriented architecture (SOA) is a method of software development that ...
Service-oriented architecture (SOA) is a method of software development that ...Service-oriented architecture (SOA) is a method of software development that ...
Service-oriented architecture (SOA) is a method of software development that ...ssuser0d0f881
 
PRECISE SPECIFICATION OF BUSINESS DECISIONS AND BUSINESS RULES
PRECISE SPECIFICATION OF BUSINESS DECISIONS AND BUSINESS RULESPRECISE SPECIFICATION OF BUSINESS DECISIONS AND BUSINESS RULES
PRECISE SPECIFICATION OF BUSINESS DECISIONS AND BUSINESS RULESssuser0d0f881
 
BPM IMPROVMENT &IMPLIMENTATION &MONITORI-Mcenter.pptx
BPM IMPROVMENT &IMPLIMENTATION &MONITORI-Mcenter.pptxBPM IMPROVMENT &IMPLIMENTATION &MONITORI-Mcenter.pptx
BPM IMPROVMENT &IMPLIMENTATION &MONITORI-Mcenter.pptxssuser0d0f881
 
المعايير الدولية في مجال إدارة الوثائق والرقمنة.pdf
المعايير الدولية في مجال إدارة الوثائق والرقمنة.pdfالمعايير الدولية في مجال إدارة الوثائق والرقمنة.pdf
المعايير الدولية في مجال إدارة الوثائق والرقمنة.pdfssuser0d0f881
 
protect your data.pdf
protect your data.pdfprotect your data.pdf
protect your data.pdfssuser0d0f881
 
FBPM2-Chapter10-ProcessImplementationExecutableModels.pptx
FBPM2-Chapter10-ProcessImplementationExecutableModels.pptxFBPM2-Chapter10-ProcessImplementationExecutableModels.pptx
FBPM2-Chapter10-ProcessImplementationExecutableModels.pptxssuser0d0f881
 
BPM13-29-08-13-Tutorial-Process-Automation_Part-I.pptx
BPM13-29-08-13-Tutorial-Process-Automation_Part-I.pptxBPM13-29-08-13-Tutorial-Process-Automation_Part-I.pptx
BPM13-29-08-13-Tutorial-Process-Automation_Part-I.pptxssuser0d0f881
 
FBPM2-Chapter09-ProcessAwareInformationSystems.pptx
FBPM2-Chapter09-ProcessAwareInformationSystems.pptxFBPM2-Chapter09-ProcessAwareInformationSystems.pptx
FBPM2-Chapter09-ProcessAwareInformationSystems.pptxssuser0d0f881
 
Lecture7-QuantitativeAnalysis2.pptx
Lecture7-QuantitativeAnalysis2.pptxLecture7-QuantitativeAnalysis2.pptx
Lecture7-QuantitativeAnalysis2.pptxssuser0d0f881
 

More from ssuser0d0f881 (20)

BK 1 Unit 5 to 8 Present Simple Do Does.ppt
BK 1 Unit 5 to 8 Present Simple Do Does.pptBK 1 Unit 5 to 8 Present Simple Do Does.ppt
BK 1 Unit 5 to 8 Present Simple Do Does.ppt
 
Traditional-Based Learning Vs Program-Based Learning.pptx
Traditional-Based Learning Vs Program-Based Learning.pptxTraditional-Based Learning Vs Program-Based Learning.pptx
Traditional-Based Learning Vs Program-Based Learning.pptx
 
Information and documentation, Records management, Concepts and principles.pptx
Information and documentation, Records management, Concepts and principles.pptxInformation and documentation, Records management, Concepts and principles.pptx
Information and documentation, Records management, Concepts and principles.pptx
 
Service-oriented architecture (SOA) is a method of software development that ...
Service-oriented architecture (SOA) is a method of software development that ...Service-oriented architecture (SOA) is a method of software development that ...
Service-oriented architecture (SOA) is a method of software development that ...
 
PRECISE SPECIFICATION OF BUSINESS DECISIONS AND BUSINESS RULES
PRECISE SPECIFICATION OF BUSINESS DECISIONS AND BUSINESS RULESPRECISE SPECIFICATION OF BUSINESS DECISIONS AND BUSINESS RULES
PRECISE SPECIFICATION OF BUSINESS DECISIONS AND BUSINESS RULES
 
BPM IMPROVMENT &IMPLIMENTATION &MONITORI-Mcenter.pptx
BPM IMPROVMENT &IMPLIMENTATION &MONITORI-Mcenter.pptxBPM IMPROVMENT &IMPLIMENTATION &MONITORI-Mcenter.pptx
BPM IMPROVMENT &IMPLIMENTATION &MONITORI-Mcenter.pptx
 
المعايير الدولية في مجال إدارة الوثائق والرقمنة.pdf
المعايير الدولية في مجال إدارة الوثائق والرقمنة.pdfالمعايير الدولية في مجال إدارة الوثائق والرقمنة.pdf
المعايير الدولية في مجال إدارة الوثائق والرقمنة.pdf
 
ch6-part1.pptx
ch6-part1.pptxch6-part1.pptx
ch6-part1.pptx
 
ch05-part1.pptx
ch05-part1.pptxch05-part1.pptx
ch05-part1.pptx
 
ch04-part1.pptx
ch04-part1.pptxch04-part1.pptx
ch04-part1.pptx
 
ch03-part2.pptx
ch03-part2.pptxch03-part2.pptx
ch03-part2.pptx
 
ch03-part1.pptx
ch03-part1.pptxch03-part1.pptx
ch03-part1.pptx
 
ch02-part1.pptx
ch02-part1.pptxch02-part1.pptx
ch02-part1.pptx
 
protect your data.pdf
protect your data.pdfprotect your data.pdf
protect your data.pdf
 
BPMN (28).pptx
BPMN (28).pptxBPMN (28).pptx
BPMN (28).pptx
 
2018Lecture12.pptx
2018Lecture12.pptx2018Lecture12.pptx
2018Lecture12.pptx
 
FBPM2-Chapter10-ProcessImplementationExecutableModels.pptx
FBPM2-Chapter10-ProcessImplementationExecutableModels.pptxFBPM2-Chapter10-ProcessImplementationExecutableModels.pptx
FBPM2-Chapter10-ProcessImplementationExecutableModels.pptx
 
BPM13-29-08-13-Tutorial-Process-Automation_Part-I.pptx
BPM13-29-08-13-Tutorial-Process-Automation_Part-I.pptxBPM13-29-08-13-Tutorial-Process-Automation_Part-I.pptx
BPM13-29-08-13-Tutorial-Process-Automation_Part-I.pptx
 
FBPM2-Chapter09-ProcessAwareInformationSystems.pptx
FBPM2-Chapter09-ProcessAwareInformationSystems.pptxFBPM2-Chapter09-ProcessAwareInformationSystems.pptx
FBPM2-Chapter09-ProcessAwareInformationSystems.pptx
 
Lecture7-QuantitativeAnalysis2.pptx
Lecture7-QuantitativeAnalysis2.pptxLecture7-QuantitativeAnalysis2.pptx
Lecture7-QuantitativeAnalysis2.pptx
 

Recently uploaded

JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...anjaliyadav012327
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
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
 
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
 
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
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
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
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
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
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 

Recently uploaded (20)

JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
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...
 
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
 
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
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
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
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
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
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 

method_style_ch10.pptx

  • 1. BPMN Method & Style CHAPTER 10 Transactions 1
  • 2. 2 Outlines • ACID Transactions • Business Transactions • Compensation Boundary Event & Compensating Activity
  • 3. 3 The term transaction refers to the coordinated execution of multiple activities such that they either all complete successfully or the system is restored to a state equivalent to none of them completing. Transactions
  • 4. 4 ACID Transactions ACID stands for: Atomic – indivisible, all-or-nothing behavior. Consistent – preventing an inconsistent state of the system, such as a debit with no corresponding credit. Isolated – the systems managing each account are locked during execution of the transaction. Durable – the state of the participating systems is stored in a database, not just in memory, so it can be restored in case of a crash. ACID relates to Distributed Database Operations
  • 5. 5
  • 6. 6 Example: electronic funds transfer in a bank. The transaction debits one account and credits another account. This requires the coordinated action of two databases (two independent systems). If, for some reason, the debit and the credit cannot both be executed simultaneously. In IT systems, ACID transactions are using a special protocol called Two-phase Commit. Transaction manager software, first communicates with the various resources performing each side of the debit and the credit, to ensure they are all ready to execute. Two-phase Commit Protocol Transaction Manager
  • 8. 8 Business Transactions • Business processes work as Transactional subprocess, • means that its component activities must either all complete successfully or the subprocess must be restored to its original consistent state. • Business Transactions are usually not ACID transactions coordinated via two-phase commit. The reason is they fail the I, or isolation. • the transaction must be short-running, taking milliseconds to complete.
  • 9. 9 Compensation Boundary Event and Compensating Activity • The Compensation boundary event is used to link an activity to its undoing, or compensating activity. • It has an association linking it to a single compensating activity. • a Compensation boundary event can only be triggered after the attached activity completes successfully. If the activity has not started or is still running when the transaction fails, or if the activity itself completes unsuccessfully, its compensating activity will not run.
  • 11. 11 Cancel Event • The Cancel event, with the X icon, is a special form of Error event that may only be used with transactional subprocesses. • It is used when the source of transaction failure is within the transaction subprocess. • Cancel supports throw catch from an end event of the transactional subprocess to a boundary event or event subprocess.
  • 12. 12 Figure 10-4. Transaction compensation, simple case Travel Booking Example
  • 13. 13 Figure 10-5. Transaction compensation, complex case