SlideShare a Scribd company logo
Exception management
patterns in Logic Apps
Who am I?
Wagner Silveira
Principal Integration Architect
Microsoft MVP - Azure
MCSA – Cloud Platform
Agenda
•What is Logic Apps
•Exception management components
•Some patterns
•Lessons learned
Logic Apps Exception Management - Azure Lunchtime
Logic Apps
• Microsoft Integration Platform as a Service (IPaaS) offering
• Business Processes Orchestration in the Cloud
• Azure factor (pay as you go, pay per usage, scale on demand)
• Cloud and Hybrid Integration
• Multiple Trigger Patterns
• Manual Invocation
• Event Based
• Scheduled
• Extensible
Concepts
• Workflows
• Triggers
• Actions
• Connectors
• Flow structures
Planning for the unexpected
• Try again
• Plot alternative paths
• Divide and conquer
• Finish execution
Exception management components
• Retry policies
• Run after
• Scopes
• Terminate
Retry policies
• Retry execution based on status code
‐ 429 | 5xx
• Two modes
‐ Fixed  based on interval and count
‐ None
• Out of the box  20s x 4
• Can be configured from designer
Run after
• Define execution order
• Based on name and status
• Define success and failure flows
• Can be configured from designer
• Multiple predecessors possible (from code)
Scopes
• Group a series of workflow elements
• Can host any action or flow control
• Simplify exception management
Terminate
• Force workflow termination
• Define final workflow status
‐ Succeeded
‐ Cancelled
‐ Failed
 Error Code
 Error Message
Hands on time
Exploring the tools
Patterns
• Controlling the flow
• Collating error information
• Group logical blocks by scope
Controlling the Flow
• Similar to try/catch
• Use scope for try
• Use run after for catch
• Use terminate to
control the result
Collating error information
• Filter scope results for errors
• Use information
‐ Propagate error
‐ Notify
‐ Log
Group logical blocks by scope
• Identify logical blocks
• Wrap them around scopes
• Allow
‐ Compensation
policies
‐ More
granularity
Hands on time
Collating information
Lessons learned
• Use scope from start
• Use multiple scopes for more control
• Have the right retry policy
• Do Until can replicate retry
Takeaways
• Logic Apps have good tools for exception management
• Latest changes in UI makes it simpler
• Scopes can help you control the flow
• Think about the right retry policies
• Plan it from start
Thank you!
@wsilveiranz | wagner.Silveira@theta.co.nz

More Related Content

PPTX
Streaming datasets for personalization
PDF
ActiveMigrate - ECM Renovation Roadshow
PDF
Productionzing ML Model Using MLflow Model Serving
PPTX
MATLAB GUI Projects Research Ideas
PPTX
Matlab Based Projects Research guidance
PDF
Structured Streaming in Spark
PDF
Exception Management patterns in Logic Apps
PPTX
SCRIMPS-STD: Test Automation Design Principles - and asking the right questions!
Streaming datasets for personalization
ActiveMigrate - ECM Renovation Roadshow
Productionzing ML Model Using MLflow Model Serving
MATLAB GUI Projects Research Ideas
Matlab Based Projects Research guidance
Structured Streaming in Spark
Exception Management patterns in Logic Apps
SCRIMPS-STD: Test Automation Design Principles - and asking the right questions!

Similar to Logic Apps Exception Management - Azure Lunchtime (20)

PPTX
Cloud Strategy
PPTX
Cloud Design Patterns - Hong Kong Codeaholics
PPTX
Cloud patterns at Carleton University
PDF
Performance tuning Grails applications
PPT
Performance Testing your Kuali Student Product
PPTX
Practical soa for business and researchers
PPTX
8 cloud design patterns you ought to know - Update Conference 2018
PDF
Journey to the center of DevOps - v6
PPTX
ADDO Open Source Observability Tools
PDF
Integration strategies best practices- Mulesoft meetup April 2018
PDF
Tagging Best Practices for Cloud Governance
PPTX
Testing the brave new world of saa s applications quest 2018 v1
PDF
faisal mushtaq - an enterprise cloud cost management framework
PPTX
Monitoring Oracle SOA Suite
PPTX
Top 5 Java Performance Metrics, Tips & Tricks
PPT
Choosing the Right Business Intelligence Tools for Your Data and Architectura...
PPTX
Patching is Your Friend in the New World Order of EPM and ERP Cloud
PPTX
Oracle Management Cloud - introduction, overview and getting started (AMIS, 2...
PPTX
Kaseya Connect 2013: Templates and Policy: The Next Steps
PPTX
Cloud design principles
Cloud Strategy
Cloud Design Patterns - Hong Kong Codeaholics
Cloud patterns at Carleton University
Performance tuning Grails applications
Performance Testing your Kuali Student Product
Practical soa for business and researchers
8 cloud design patterns you ought to know - Update Conference 2018
Journey to the center of DevOps - v6
ADDO Open Source Observability Tools
Integration strategies best practices- Mulesoft meetup April 2018
Tagging Best Practices for Cloud Governance
Testing the brave new world of saa s applications quest 2018 v1
faisal mushtaq - an enterprise cloud cost management framework
Monitoring Oracle SOA Suite
Top 5 Java Performance Metrics, Tips & Tricks
Choosing the Right Business Intelligence Tools for Your Data and Architectura...
Patching is Your Friend in the New World Order of EPM and ERP Cloud
Oracle Management Cloud - introduction, overview and getting started (AMIS, 2...
Kaseya Connect 2013: Templates and Policy: The Next Steps
Cloud design principles
Ad

More from Wagner Silveira (16)

PPTX
Power Friday - Introduction to Azure Integration services
PPTX
Api management - a lap around vs code extension
PPTX
Directions Asia Unlocking New Integration Potential for d365 BC with Event ...
PPTX
Integrate 2019 - Creating a Processing Pipeline with Azure Functions and AIS
PPTX
Logic app x microsoft flow
PPTX
A lap around cognitive services
PPTX
A lap around API Management
PPTX
Expose BizTalk to the world (ACSUG)
PPTX
GIB 2017 - Azure function and logic apps better together
PPTX
Directions ASIA 2018 - richer integration with logic apps for ms dynamics - p...
PPTX
GIB2018 AKL - Introduction to Bots, Luis and Flow
PPTX
A lap around azure function proxy
PPTX
Hybrid Integration with BizTalk Server - ACSUG
PPTX
Integrate 2017 unlock azure hybrid integration with biz talk - ws
PPTX
GAB 2017 - Logic Apps and Azure Functions
PPTX
App Services - Connecting the dots of Web Mobile and Integration_published
Power Friday - Introduction to Azure Integration services
Api management - a lap around vs code extension
Directions Asia Unlocking New Integration Potential for d365 BC with Event ...
Integrate 2019 - Creating a Processing Pipeline with Azure Functions and AIS
Logic app x microsoft flow
A lap around cognitive services
A lap around API Management
Expose BizTalk to the world (ACSUG)
GIB 2017 - Azure function and logic apps better together
Directions ASIA 2018 - richer integration with logic apps for ms dynamics - p...
GIB2018 AKL - Introduction to Bots, Luis and Flow
A lap around azure function proxy
Hybrid Integration with BizTalk Server - ACSUG
Integrate 2017 unlock azure hybrid integration with biz talk - ws
GAB 2017 - Logic Apps and Azure Functions
App Services - Connecting the dots of Web Mobile and Integration_published
Ad

Recently uploaded (20)

PDF
System and Network Administration Chapter 2
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PPTX
L1 - Introduction to python Backend.pptx
PPTX
Odoo POS Development Services by CandidRoot Solutions
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
System and Network Administraation Chapter 3
PDF
How Creative Agencies Leverage Project Management Software.pdf
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
Nekopoi APK 2025 free lastest update
System and Network Administration Chapter 2
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
L1 - Introduction to python Backend.pptx
Odoo POS Development Services by CandidRoot Solutions
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
CHAPTER 2 - PM Management and IT Context
Upgrade and Innovation Strategies for SAP ERP Customers
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Operating system designcfffgfgggggggvggggggggg
PTS Company Brochure 2025 (1).pdf.......
System and Network Administraation Chapter 3
How Creative Agencies Leverage Project Management Software.pdf
Design an Analysis of Algorithms I-SECS-1021-03
How to Choose the Right IT Partner for Your Business in Malaysia
Which alternative to Crystal Reports is best for small or large businesses.pdf
Design an Analysis of Algorithms II-SECS-1021-03
Nekopoi APK 2025 free lastest update

Logic Apps Exception Management - Azure Lunchtime