SlideShare a Scribd company logo
1 of 4
Custom Events
In thisblog, we will demonstrate howtouse custom businesseventsinmule inordertrack the business
data for audit purpose or any other kind of reporting purpose.
Use the Custom Business Event component (tracking:custom-eventelement in the XML view) to add
metadata and Key Performance Indicators (KPIs) to your flow.
The Business Events tab on the management console gives you visibility into business transactions and
eventsonyourMule servers,allowingyoutotrack and analyze the flow anddispositionof messages.For
example,you can use the data to do root cause analysis on a failure within a business transaction or
identify message processing bottlenecks.
Anypoint Platform supports defining the same set of business eventswhether it is On Premise or iPaaS.
These events can be designed, developed and monitored seamlessly across on premise and iPaaS
solutions.
‘All’or ‘None’ events
The property(see below) marksall eventsinthe flow tobe flaggedas“on” or “off”.By using this
property,defaulteventsprovidedby AnypointPlatform canbe tracked:
<flowname=”custom-business-eventFlow”tracking:enable-default-events=”true|false”>
Configure Custom Business Events
Let’ssee howto configure custombusinesseventsinourmule flow.
Create projectinAnyPointstudioandconfigure the listener.
Drag and drop custombusinesseventfrommule paletteandconfigure the EventName andKPIsas
shownbelow
Here the KPI iseventId,sothatwe can track the transactionwithoutanyhurdles.
Let’sdeploy the same application tothe CloudHub.
To see KPI’syoumustenable Insightsforyour application duringdeployment,like below:
Once deploymentiscompletedSuccessfully,let’sTestthe same.
Validate Custom Business Events
Openthe Postman,andtriggerthe requestforCustomBusinessEventasbelow:
Goto the CloudHubandclickon the insightTab.
Trace the transactionand youcan checkyour applicationKPI’sthatyoudefinedinyourmule
application.
Thisis the simplestwaytoaddthe CustomBusinessEventID.Similarway,we canaddas many KPIsyou
need.
For yourKPIs,use namesthat are easyto searchfor inthe AnypointRuntime Managerinterface,and
use a representativevalue,whichcanbe anyMule expression:
Name Expression/Value
employee-id #[payload['ID']]
employee-email #[payload['Email']]
employee-git-id #[payload['GITHUB_ID']]
Name Expression/Value
price 700
price-after-discount #[vars.price]
order-id #[payload.order.header.orderID]

More Related Content

Similar to Custom Business Events in Mulesoft

[Webinar] Camunda Optimize Release 3.0
[Webinar] Camunda Optimize Release 3.0[Webinar] Camunda Optimize Release 3.0
[Webinar] Camunda Optimize Release 3.0camunda services GmbH
 
What is going on - Application diagnostics on Azure - TechDays Finland
What is going on - Application diagnostics on Azure - TechDays FinlandWhat is going on - Application diagnostics on Azure - TechDays Finland
What is going on - Application diagnostics on Azure - TechDays FinlandMaarten Balliauw
 
Standard+Business+Reporting+overview
Standard+Business+Reporting+overviewStandard+Business+Reporting+overview
Standard+Business+Reporting+overviewAshima Singh
 
Open sap ui51_week_2_unit_3_acdt_exercises
Open sap ui51_week_2_unit_3_acdt_exercisesOpen sap ui51_week_2_unit_3_acdt_exercises
Open sap ui51_week_2_unit_3_acdt_exercisesvikram sukumar
 
Becoming a Process Minding Organization - a Solution Overview
Becoming a Process Minding Organization  - a Solution OverviewBecoming a Process Minding Organization  - a Solution Overview
Becoming a Process Minding Organization - a Solution OverviewDafna Levy
 
WSO2 Advantage Webinar WSO2 BAM2 Integration with mule esb
WSO2 Advantage Webinar  WSO2 BAM2 Integration with mule esbWSO2 Advantage Webinar  WSO2 BAM2 Integration with mule esb
WSO2 Advantage Webinar WSO2 BAM2 Integration with mule esbWSO2
 
CO_TM_Controlling_co-om Master Data .pdf
CO_TM_Controlling_co-om Master Data .pdfCO_TM_Controlling_co-om Master Data .pdf
CO_TM_Controlling_co-om Master Data .pdfssuser878ec2
 
Enterprise Edition: When should you choose this?
Enterprise Edition: When should you choose this?Enterprise Edition: When should you choose this?
Enterprise Edition: When should you choose this?Jeraldine Phneah
 
Pmo slides jun2010
Pmo slides jun2010Pmo slides jun2010
Pmo slides jun2010Steve Turner
 
Intelligent Process Management & Visualization Technologies
Intelligent Process Management & Visualization TechnologiesIntelligent Process Management & Visualization Technologies
Intelligent Process Management & Visualization TechnologiesDafna Levy
 
Sap modules overview and business processes
Sap modules overview and business processesSap modules overview and business processes
Sap modules overview and business processessrilu999
 
On Going Web
On Going WebOn Going Web
On Going Webmigodalin
 
PCA Configuration
PCA ConfigurationPCA Configuration
PCA Configurationvannakm
 

Similar to Custom Business Events in Mulesoft (20)

[Webinar] Camunda Optimize Release 3.0
[Webinar] Camunda Optimize Release 3.0[Webinar] Camunda Optimize Release 3.0
[Webinar] Camunda Optimize Release 3.0
 
Dei accounting interface
Dei   accounting interfaceDei   accounting interface
Dei accounting interface
 
What is going on - Application diagnostics on Azure - TechDays Finland
What is going on - Application diagnostics on Azure - TechDays FinlandWhat is going on - Application diagnostics on Azure - TechDays Finland
What is going on - Application diagnostics on Azure - TechDays Finland
 
Omg bpmn tutorial
Omg bpmn tutorialOmg bpmn tutorial
Omg bpmn tutorial
 
Dashboards In ISU
Dashboards In ISUDashboards In ISU
Dashboards In ISU
 
Standard+Business+Reporting+overview
Standard+Business+Reporting+overviewStandard+Business+Reporting+overview
Standard+Business+Reporting+overview
 
Bte
BteBte
Bte
 
Bte
BteBte
Bte
 
Open sap ui51_week_2_unit_3_acdt_exercises
Open sap ui51_week_2_unit_3_acdt_exercisesOpen sap ui51_week_2_unit_3_acdt_exercises
Open sap ui51_week_2_unit_3_acdt_exercises
 
Becoming a Process Minding Organization - a Solution Overview
Becoming a Process Minding Organization  - a Solution OverviewBecoming a Process Minding Organization  - a Solution Overview
Becoming a Process Minding Organization - a Solution Overview
 
WSO2 Advantage Webinar WSO2 BAM2 Integration with mule esb
WSO2 Advantage Webinar  WSO2 BAM2 Integration with mule esbWSO2 Advantage Webinar  WSO2 BAM2 Integration with mule esb
WSO2 Advantage Webinar WSO2 BAM2 Integration with mule esb
 
CO_TM_Controlling_co-om Master Data .pdf
CO_TM_Controlling_co-om Master Data .pdfCO_TM_Controlling_co-om Master Data .pdf
CO_TM_Controlling_co-om Master Data .pdf
 
Enterprise Edition: When should you choose this?
Enterprise Edition: When should you choose this?Enterprise Edition: When should you choose this?
Enterprise Edition: When should you choose this?
 
Pmo slides jun2010
Pmo slides jun2010Pmo slides jun2010
Pmo slides jun2010
 
Intelligent Process Management & Visualization Technologies
Intelligent Process Management & Visualization TechnologiesIntelligent Process Management & Visualization Technologies
Intelligent Process Management & Visualization Technologies
 
SAP - ERP
SAP - ERPSAP - ERP
SAP - ERP
 
Sap modules overview and business processes
Sap modules overview and business processesSap modules overview and business processes
Sap modules overview and business processes
 
On Going Web
On Going WebOn Going Web
On Going Web
 
Just in Time (JiT) Business Rules Mining
Just in Time (JiT) Business Rules MiningJust in Time (JiT) Business Rules Mining
Just in Time (JiT) Business Rules Mining
 
PCA Configuration
PCA ConfigurationPCA Configuration
PCA Configuration
 

Recently uploaded

The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
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.pdfhans926745
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
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 educationjfdjdjcjdnsjd
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
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.pptxHampshireHUG
 
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 AutomationSafe Software
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
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 MenDelhi Call girls
 
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 WorkerThousandEyes
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdfChristopherTHyatt
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
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 SolutionsEnterprise Knowledge
 

Recently uploaded (20)

The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
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
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
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
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
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
 
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
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
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
 
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
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
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
 

Custom Business Events in Mulesoft

  • 1. Custom Events In thisblog, we will demonstrate howtouse custom businesseventsinmule inordertrack the business data for audit purpose or any other kind of reporting purpose. Use the Custom Business Event component (tracking:custom-eventelement in the XML view) to add metadata and Key Performance Indicators (KPIs) to your flow. The Business Events tab on the management console gives you visibility into business transactions and eventsonyourMule servers,allowingyoutotrack and analyze the flow anddispositionof messages.For example,you can use the data to do root cause analysis on a failure within a business transaction or identify message processing bottlenecks. Anypoint Platform supports defining the same set of business eventswhether it is On Premise or iPaaS. These events can be designed, developed and monitored seamlessly across on premise and iPaaS solutions. ‘All’or ‘None’ events The property(see below) marksall eventsinthe flow tobe flaggedas“on” or “off”.By using this property,defaulteventsprovidedby AnypointPlatform canbe tracked: <flowname=”custom-business-eventFlow”tracking:enable-default-events=”true|false”> Configure Custom Business Events Let’ssee howto configure custombusinesseventsinourmule flow. Create projectinAnyPointstudioandconfigure the listener. Drag and drop custombusinesseventfrommule paletteandconfigure the EventName andKPIsas shownbelow
  • 2. Here the KPI iseventId,sothatwe can track the transactionwithoutanyhurdles. Let’sdeploy the same application tothe CloudHub. To see KPI’syoumustenable Insightsforyour application duringdeployment,like below: Once deploymentiscompletedSuccessfully,let’sTestthe same. Validate Custom Business Events Openthe Postman,andtriggerthe requestforCustomBusinessEventasbelow:
  • 3. Goto the CloudHubandclickon the insightTab. Trace the transactionand youcan checkyour applicationKPI’sthatyoudefinedinyourmule application. Thisis the simplestwaytoaddthe CustomBusinessEventID.Similarway,we canaddas many KPIsyou need. For yourKPIs,use namesthat are easyto searchfor inthe AnypointRuntime Managerinterface,and use a representativevalue,whichcanbe anyMule expression: Name Expression/Value employee-id #[payload['ID']] employee-email #[payload['Email']] employee-git-id #[payload['GITHUB_ID']]
  • 4. Name Expression/Value price 700 price-after-discount #[vars.price] order-id #[payload.order.header.orderID]