SlideShare a Scribd company logo
1 of 14
Download to read offline
BPMN and CMMN execution error
analysis
Tijs Rademakers (@tijsrademakers)
15-11-2019
@tijsrademakers 15 November 2019
©2019FlowableAG. All rights reserved.
Historic and runtime tables with activity, variable,
execution data etc.
Flowable SLF4j / Log4J logging
Debugging Flowable
Current possibilities for error analysis
15 November 2019@tijsrademakers
©2019FlowableAG. All rights reserved.
Failing job
Failing synchronous service task
• Rollback to previous wait state / full rollback
• No historic information stored
Failing set variable call, optimistic lock exception
Error possibilities
15 November 2019@tijsrademakers
©2019FlowableAG. All rights reserved.
Not all data needed for a full analysis is present
Rollbacks are obviously not stored
Historic information shows the end result of a transaction
• Data is persisted in the database at the end of the transaction
• Exact order of logic is sometimes difficult to extract
Historic tables limitations
15 November 2019@tijsrademakers
©2019FlowableAG. All rights reserved.
HTTP call in async service task fails first time
Second try with job succeeds
No data available in historic tables about first failure
Async job example
15 November 2019@tijsrademakers
©2019FlowableAG. All rights reserved.
STP process which fails in third service task
No data available in runtime and historic tables
Straight through process example
15 November 2019@tijsrademakers
©2019FlowableAG. All rights reserved.
Is coupled to the command context / transaction
Log events are created while executing the transaction
Timestamp, log sequence number, transaction id, type
and message present in all log events
Scope definition, scope instance and type info present
Specific data per event type
Logging session feature
15 November 2019@tijsrademakers
©2019FlowableAG. All rights reserved.
ActivityBehavior example
15 November 2019@tijsrademakers
©2019FlowableAG. All rights reserved.
Logging listener invoked at end of transaction
• Command context close
• Command context close failure
Logging listener
15 November 2019@tijsrademakers
©2019FlowableAG. All rights reserved.
2019-11-14T11:45:44.032Z: (4,4) Started process instance with id 4
2019-11-14T11:45:44.039Z: (4,5) In StartEvent, executing NoneStartEventActivityBehavior
2019-11-14T11:45:44.047Z: (4,5) Sequence flow will be taken for flow1, theStart --> task
2019-11-14T11:45:44.051Z: (4,5) In ServiceTask, executing ClassDelegate
2019-11-14T11:45:44.056Z: (4,5) Executing service task with java class
org.flowable.engine.test.logging.ServiceTaskLoggingTest$ExceptionServiceTaskDeleg
ate
2019-11-14T11:45:44.072Z: (4,5) Service task with java class
org.flowable.engine.test.logging.ServiceTaskLoggingTest$ExceptionServiceTaskDeleg
ate threw exception Test exception
2019-11-14T11:45:44.075Z: (4) Exception at closing command context for bpmn engine
Simple logger of log events
15 November 2019@tijsrademakers
©2019FlowableAG. All rights reserved.
Flowable Insight
7 November 2019@jbarrez @tijsrademakers 11
Flowable
Engine
Logging listener Flowable Insight
* All shown here on the slide are pluggable
ElasticSearch
Demo
©2019FlowableAG. All rights reserved.
Add more events types to the logging session
Add possibility to enable / disable logging via REST API
Getting ready for the 6.5.0 release
Improve the features of Flowable Insight
Next steps
15 November 2019@tijsrademakers
Thank you.
https://flowable.com/flowfest2019/

More Related Content

What's hot

Flink Forward Berlin 2018: Krzysztof Zarzycki & Alexey Brodovshuk - "Assistin...
Flink Forward Berlin 2018: Krzysztof Zarzycki & Alexey Brodovshuk - "Assistin...Flink Forward Berlin 2018: Krzysztof Zarzycki & Alexey Brodovshuk - "Assistin...
Flink Forward Berlin 2018: Krzysztof Zarzycki & Alexey Brodovshuk - "Assistin...
Flink Forward
 
Digital Transformation in Healthcare with Kafka—Building a Low Latency Data P...
Digital Transformation in Healthcare with Kafka—Building a Low Latency Data P...Digital Transformation in Healthcare with Kafka—Building a Low Latency Data P...
Digital Transformation in Healthcare with Kafka—Building a Low Latency Data P...
confluent
 
Using Kafka Streams to Analyze Live Trading Activity for Crypto Exchanges (Lu...
Using Kafka Streams to Analyze Live Trading Activity for Crypto Exchanges (Lu...Using Kafka Streams to Analyze Live Trading Activity for Crypto Exchanges (Lu...
Using Kafka Streams to Analyze Live Trading Activity for Crypto Exchanges (Lu...
confluent
 
Kafka as an Eventing System to Replatform a Monolith into Microservices
Kafka as an Eventing System to Replatform a Monolith into Microservices Kafka as an Eventing System to Replatform a Monolith into Microservices
Kafka as an Eventing System to Replatform a Monolith into Microservices
confluent
 
Bringing Streaming Data To The Masses: Lowering The “Cost Of Admission” For Y...
Bringing Streaming Data To The Masses: Lowering The “Cost Of Admission” For Y...Bringing Streaming Data To The Masses: Lowering The “Cost Of Admission” For Y...
Bringing Streaming Data To The Masses: Lowering The “Cost Of Admission” For Y...
confluent
 

What's hot (20)

Flink Forward Berlin 2018: Stephan Ewen - Keynote: "Unlocking the next wave o...
Flink Forward Berlin 2018: Stephan Ewen - Keynote: "Unlocking the next wave o...Flink Forward Berlin 2018: Stephan Ewen - Keynote: "Unlocking the next wave o...
Flink Forward Berlin 2018: Stephan Ewen - Keynote: "Unlocking the next wave o...
 
Flink Forward Berlin 2018: Krzysztof Zarzycki & Alexey Brodovshuk - "Assistin...
Flink Forward Berlin 2018: Krzysztof Zarzycki & Alexey Brodovshuk - "Assistin...Flink Forward Berlin 2018: Krzysztof Zarzycki & Alexey Brodovshuk - "Assistin...
Flink Forward Berlin 2018: Krzysztof Zarzycki & Alexey Brodovshuk - "Assistin...
 
Digital Transformation in Healthcare with Kafka—Building a Low Latency Data P...
Digital Transformation in Healthcare with Kafka—Building a Low Latency Data P...Digital Transformation in Healthcare with Kafka—Building a Low Latency Data P...
Digital Transformation in Healthcare with Kafka—Building a Low Latency Data P...
 
The Past, Present, and Future of Apache Flink
The Past, Present, and Future of Apache FlinkThe Past, Present, and Future of Apache Flink
The Past, Present, and Future of Apache Flink
 
My Talk Slides for Clojured Berlin 2019
My Talk Slides for Clojured Berlin 2019My Talk Slides for Clojured Berlin 2019
My Talk Slides for Clojured Berlin 2019
 
Using Kafka Streams to Analyze Live Trading Activity for Crypto Exchanges (Lu...
Using Kafka Streams to Analyze Live Trading Activity for Crypto Exchanges (Lu...Using Kafka Streams to Analyze Live Trading Activity for Crypto Exchanges (Lu...
Using Kafka Streams to Analyze Live Trading Activity for Crypto Exchanges (Lu...
 
Flink Forward Berlin 2018: Wei-Che (Tony) Wei - "Lessons learned from Migrati...
Flink Forward Berlin 2018: Wei-Che (Tony) Wei - "Lessons learned from Migrati...Flink Forward Berlin 2018: Wei-Che (Tony) Wei - "Lessons learned from Migrati...
Flink Forward Berlin 2018: Wei-Che (Tony) Wei - "Lessons learned from Migrati...
 
PivotBillions: Analyzing 1.5 Billion Rows of NYC Taxi Data
PivotBillions: Analyzing 1.5 Billion Rows of NYC Taxi DataPivotBillions: Analyzing 1.5 Billion Rows of NYC Taxi Data
PivotBillions: Analyzing 1.5 Billion Rows of NYC Taxi Data
 
Serverless EventStore
Serverless EventStoreServerless EventStore
Serverless EventStore
 
Kafka as an Eventing System to Replatform a Monolith into Microservices
Kafka as an Eventing System to Replatform a Monolith into Microservices Kafka as an Eventing System to Replatform a Monolith into Microservices
Kafka as an Eventing System to Replatform a Monolith into Microservices
 
Scalable Application Development @ Picnic
Scalable Application Development @ PicnicScalable Application Development @ Picnic
Scalable Application Development @ Picnic
 
High Volume Streaming Data: How Amazon Web Services is Changing Our Approach
High Volume Streaming Data: How Amazon Web Services is Changing Our ApproachHigh Volume Streaming Data: How Amazon Web Services is Changing Our Approach
High Volume Streaming Data: How Amazon Web Services is Changing Our Approach
 
Flink Forward Berlin 2017: Gyula Fora - Building and operating large-scale st...
Flink Forward Berlin 2017: Gyula Fora - Building and operating large-scale st...Flink Forward Berlin 2017: Gyula Fora - Building and operating large-scale st...
Flink Forward Berlin 2017: Gyula Fora - Building and operating large-scale st...
 
Scylla Summit 2022: Scalable and Sustainable Supply Chains with DLT and ScyllaDB
Scylla Summit 2022: Scalable and Sustainable Supply Chains with DLT and ScyllaDBScylla Summit 2022: Scalable and Sustainable Supply Chains with DLT and ScyllaDB
Scylla Summit 2022: Scalable and Sustainable Supply Chains with DLT and ScyllaDB
 
Bringing Streaming Data To The Masses: Lowering The “Cost Of Admission” For Y...
Bringing Streaming Data To The Masses: Lowering The “Cost Of Admission” For Y...Bringing Streaming Data To The Masses: Lowering The “Cost Of Admission” For Y...
Bringing Streaming Data To The Masses: Lowering The “Cost Of Admission” For Y...
 
The Future of Data Pipelines
The Future of Data PipelinesThe Future of Data Pipelines
The Future of Data Pipelines
 
Kafka and Kafka Streams in the Global Schibsted Data Platform
Kafka and Kafka Streams in the Global Schibsted Data PlatformKafka and Kafka Streams in the Global Schibsted Data Platform
Kafka and Kafka Streams in the Global Schibsted Data Platform
 
The Bridge to Cloud (Peter Gustafsson, Confluent) London 2019 Confluent Strea...
The Bridge to Cloud (Peter Gustafsson, Confluent) London 2019 Confluent Strea...The Bridge to Cloud (Peter Gustafsson, Confluent) London 2019 Confluent Strea...
The Bridge to Cloud (Peter Gustafsson, Confluent) London 2019 Confluent Strea...
 
Redis Day TLV 2018 - Redis in Kenshoo Microservices
Redis Day TLV 2018 - Redis in Kenshoo MicroservicesRedis Day TLV 2018 - Redis in Kenshoo Microservices
Redis Day TLV 2018 - Redis in Kenshoo Microservices
 
Flux architecture
Flux architectureFlux architecture
Flux architecture
 

Similar to BPMN and CMMN execution error analysis

You’re Spiky and We Know It With Ravindra Bhanot | Current 2022
You’re Spiky and We Know It With Ravindra Bhanot | Current 2022You’re Spiky and We Know It With Ravindra Bhanot | Current 2022
You’re Spiky and We Know It With Ravindra Bhanot | Current 2022
HostedbyConfluent
 
F071 – Service Tax for Reverse Charge – Taking Credit
F071 – Service Tax for Reverse Charge – Taking CreditF071 – Service Tax for Reverse Charge – Taking Credit
F071 – Service Tax for Reverse Charge – Taking Credit
FIROZ KHAN
 
AI-Powered Streaming Analytics for Real-Time Customer Experience
AI-Powered Streaming Analytics for Real-Time Customer ExperienceAI-Powered Streaming Analytics for Real-Time Customer Experience
AI-Powered Streaming Analytics for Real-Time Customer Experience
Databricks
 

Similar to BPMN and CMMN execution error analysis (20)

Cs inhouse subcontracting process
Cs inhouse subcontracting processCs inhouse subcontracting process
Cs inhouse subcontracting process
 
Sdbusinessblueprint
SdbusinessblueprintSdbusinessblueprint
Sdbusinessblueprint
 
SAP SD Business Blue Print E1 Sales Template
SAP SD Business Blue Print E1 Sales TemplateSAP SD Business Blue Print E1 Sales Template
SAP SD Business Blue Print E1 Sales Template
 
You’re Spiky and We Know It With Ravindra Bhanot | Current 2022
You’re Spiky and We Know It With Ravindra Bhanot | Current 2022You’re Spiky and We Know It With Ravindra Bhanot | Current 2022
You’re Spiky and We Know It With Ravindra Bhanot | Current 2022
 
SAP GTS Online Training
SAP GTS Online TrainingSAP GTS Online Training
SAP GTS Online Training
 
BPMN 2.0 Analytical Constructs
BPMN 2.0 Analytical ConstructsBPMN 2.0 Analytical Constructs
BPMN 2.0 Analytical Constructs
 
Stop the Blame Game with Increased Visibility of your Mobile-to-Mainframe IT ...
Stop the Blame Game with Increased Visibility of your Mobile-to-Mainframe IT ...Stop the Blame Game with Increased Visibility of your Mobile-to-Mainframe IT ...
Stop the Blame Game with Increased Visibility of your Mobile-to-Mainframe IT ...
 
Read Access Logging (RAL) for SAP NetWeaver Overview
Read Access Logging (RAL) for SAP NetWeaver OverviewRead Access Logging (RAL) for SAP NetWeaver Overview
Read Access Logging (RAL) for SAP NetWeaver Overview
 
Unified Data Processing with Apache Flink and Apache Pulsar_Seth Wiesman
Unified Data Processing with Apache Flink and Apache Pulsar_Seth WiesmanUnified Data Processing with Apache Flink and Apache Pulsar_Seth Wiesman
Unified Data Processing with Apache Flink and Apache Pulsar_Seth Wiesman
 
Why Splunk Chose Pulsar_Karthik Ramasamy
Why Splunk Chose Pulsar_Karthik RamasamyWhy Splunk Chose Pulsar_Karthik Ramasamy
Why Splunk Chose Pulsar_Karthik Ramasamy
 
Pulsar summit-keynote-final
Pulsar summit-keynote-finalPulsar summit-keynote-final
Pulsar summit-keynote-final
 
Case study blocked queues
Case study blocked queuesCase study blocked queues
Case study blocked queues
 
CAP spots oddities in your log data
CAP spots oddities in your log dataCAP spots oddities in your log data
CAP spots oddities in your log data
 
F071 – Service Tax for Reverse Charge – Taking Credit
F071 – Service Tax for Reverse Charge – Taking CreditF071 – Service Tax for Reverse Charge – Taking Credit
F071 – Service Tax for Reverse Charge – Taking Credit
 
Big Data LDN 2018: STREAM PROCESSING TAKES ON EVERYTHING
Big Data LDN 2018: STREAM PROCESSING TAKES ON EVERYTHINGBig Data LDN 2018: STREAM PROCESSING TAKES ON EVERYTHING
Big Data LDN 2018: STREAM PROCESSING TAKES ON EVERYTHING
 
AI-Powered Streaming Analytics for Real-Time Customer Experience
AI-Powered Streaming Analytics for Real-Time Customer ExperienceAI-Powered Streaming Analytics for Real-Time Customer Experience
AI-Powered Streaming Analytics for Real-Time Customer Experience
 
Ba4 erp606 process_overview_en_xx
Ba4 erp606 process_overview_en_xxBa4 erp606 process_overview_en_xx
Ba4 erp606 process_overview_en_xx
 
ERP Modules Scope Generic 29 Modules major master, input and output
ERP Modules Scope Generic 29 Modules major master, input and outputERP Modules Scope Generic 29 Modules major master, input and output
ERP Modules Scope Generic 29 Modules major master, input and output
 
SAP Sales Order Processing With Customer Reservations
SAP Sales Order Processing With Customer ReservationsSAP Sales Order Processing With Customer Reservations
SAP Sales Order Processing With Customer Reservations
 
Jarrar farraj.lecturenotes.bpmn descriptiveconstructs
Jarrar farraj.lecturenotes.bpmn descriptiveconstructsJarrar farraj.lecturenotes.bpmn descriptiveconstructs
Jarrar farraj.lecturenotes.bpmn descriptiveconstructs
 

More from Flowable

More from Flowable (12)

Flowable on Kubenetes
Flowable on KubenetesFlowable on Kubenetes
Flowable on Kubenetes
 
Creating a checklist engine with Flowable
Creating a checklist engine with FlowableCreating a checklist engine with Flowable
Creating a checklist engine with Flowable
 
How SAP uses Flowable as its BPMN engine for SAP CP Workflow
How SAP uses Flowable as its BPMN engine for SAP CP WorkflowHow SAP uses Flowable as its BPMN engine for SAP CP Workflow
How SAP uses Flowable as its BPMN engine for SAP CP Workflow
 
FlowFest Welcome
FlowFest WelcomeFlowFest Welcome
FlowFest Welcome
 
Low code with Flowable
Low code with FlowableLow code with Flowable
Low code with Flowable
 
BpmNEXT2019 - The Case of Intentional Process
BpmNEXT2019 - The Case of Intentional ProcessBpmNEXT2019 - The Case of Intentional Process
BpmNEXT2019 - The Case of Intentional Process
 
Flowable: Life, death and all the other processes in between
Flowable: Life, death and all the other processes in betweenFlowable: Life, death and all the other processes in between
Flowable: Life, death and all the other processes in between
 
What’s New with Flowable?
What’s New with Flowable?What’s New with Flowable?
What’s New with Flowable?
 
Flowable What´s coming next?
Flowable What´s coming next?Flowable What´s coming next?
Flowable What´s coming next?
 
Advanced process migration with Flowable
Advanced process migration with FlowableAdvanced process migration with Flowable
Advanced process migration with Flowable
 
Flowable: High wealth customer engagement through chat-driven case and process
Flowable: High wealth customer engagement through chat-driven case and processFlowable: High wealth customer engagement through chat-driven case and process
Flowable: High wealth customer engagement through chat-driven case and process
 
Deploying Flowable at scale in AWS
Deploying Flowable at scale in AWSDeploying Flowable at scale in AWS
Deploying Flowable at scale in AWS
 

Recently uploaded

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 

Recently uploaded (20)

Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 

BPMN and CMMN execution error analysis

  • 1. BPMN and CMMN execution error analysis Tijs Rademakers (@tijsrademakers) 15-11-2019 @tijsrademakers 15 November 2019
  • 2. ©2019FlowableAG. All rights reserved. Historic and runtime tables with activity, variable, execution data etc. Flowable SLF4j / Log4J logging Debugging Flowable Current possibilities for error analysis 15 November 2019@tijsrademakers
  • 3. ©2019FlowableAG. All rights reserved. Failing job Failing synchronous service task • Rollback to previous wait state / full rollback • No historic information stored Failing set variable call, optimistic lock exception Error possibilities 15 November 2019@tijsrademakers
  • 4. ©2019FlowableAG. All rights reserved. Not all data needed for a full analysis is present Rollbacks are obviously not stored Historic information shows the end result of a transaction • Data is persisted in the database at the end of the transaction • Exact order of logic is sometimes difficult to extract Historic tables limitations 15 November 2019@tijsrademakers
  • 5. ©2019FlowableAG. All rights reserved. HTTP call in async service task fails first time Second try with job succeeds No data available in historic tables about first failure Async job example 15 November 2019@tijsrademakers
  • 6. ©2019FlowableAG. All rights reserved. STP process which fails in third service task No data available in runtime and historic tables Straight through process example 15 November 2019@tijsrademakers
  • 7. ©2019FlowableAG. All rights reserved. Is coupled to the command context / transaction Log events are created while executing the transaction Timestamp, log sequence number, transaction id, type and message present in all log events Scope definition, scope instance and type info present Specific data per event type Logging session feature 15 November 2019@tijsrademakers
  • 8. ©2019FlowableAG. All rights reserved. ActivityBehavior example 15 November 2019@tijsrademakers
  • 9. ©2019FlowableAG. All rights reserved. Logging listener invoked at end of transaction • Command context close • Command context close failure Logging listener 15 November 2019@tijsrademakers
  • 10. ©2019FlowableAG. All rights reserved. 2019-11-14T11:45:44.032Z: (4,4) Started process instance with id 4 2019-11-14T11:45:44.039Z: (4,5) In StartEvent, executing NoneStartEventActivityBehavior 2019-11-14T11:45:44.047Z: (4,5) Sequence flow will be taken for flow1, theStart --> task 2019-11-14T11:45:44.051Z: (4,5) In ServiceTask, executing ClassDelegate 2019-11-14T11:45:44.056Z: (4,5) Executing service task with java class org.flowable.engine.test.logging.ServiceTaskLoggingTest$ExceptionServiceTaskDeleg ate 2019-11-14T11:45:44.072Z: (4,5) Service task with java class org.flowable.engine.test.logging.ServiceTaskLoggingTest$ExceptionServiceTaskDeleg ate threw exception Test exception 2019-11-14T11:45:44.075Z: (4) Exception at closing command context for bpmn engine Simple logger of log events 15 November 2019@tijsrademakers
  • 11. ©2019FlowableAG. All rights reserved. Flowable Insight 7 November 2019@jbarrez @tijsrademakers 11 Flowable Engine Logging listener Flowable Insight * All shown here on the slide are pluggable ElasticSearch
  • 12. Demo
  • 13. ©2019FlowableAG. All rights reserved. Add more events types to the logging session Add possibility to enable / disable logging via REST API Getting ready for the 6.5.0 release Improve the features of Flowable Insight Next steps 15 November 2019@tijsrademakers