SlideShare uma empresa Scribd logo
1 de 37
Logic Apps: Best practices, Tips, and Tricks
Sandro Pereira | Head of Integration @DevScope, Azure MVP
Sandro Pereira
Who am I?
• Head of Integration @DevScope
• Microsoft Azure MVP
• sandro.pereira@devscope.net
• linkedin.com/in/sandropereira
• @sandro_asp
• https://blog.sandro-pereira.com/
• Public speaker
• Father
• Book author: “BizTalk Mapping Patterns
and Best Practices”
+351 223 751 350
www.devscope.net
this house have kids'…
LISA SANDERS, M.D.
LA naming convention….
Use descriptive names
Improves readability
Transfer knowledge
You can’t rename Logic Apps… directly
1
POC-AccessingLastElementXMLArray-DEV
POC-CheckJSONStructureContainArray-DEV
POC-WorkingWithArrays-DEV
GAB2020-Event-EmailDemo
POC-ReceiveMsgFromBizTalk-DEV
POC-OCR-SmartDocumentor-DEV
DVS-SmartDocumentor-InvoiceProcessing-PRD
POC-CallAzureFunctionHTTPTrigger-DEV
<project-name>-MonitorBizTalkPorts-PRD
POC-HowToHandleGetCalls-DEV
IntMonday-Event-OneDriveToEmailDemo
DVS-SmartDocumentor-ExpensesProcessing-PRD
DVS-SmartDocumentor-SubmissionStatusReport-PRD
name and rename actions….
2 Use descriptive names
Improves readability
Transfer knowledge
You can’t rename actions that have dependencies…
Use descriptivenames
Improvesreadability
Transfer knowledge
You can’t renameactions that have
dependencies… directly
how to rename actions with
dependencies? It is possible?
3
add comments….
Everyone can read the comments
Save yourself and teammats from future frustration
Every expression should have a comment
4
using scopes…
Managing individual actions introduces complexity
Scopes group actions together (regions)
Manage actions as a single unit instead of disparate items5
scope… is a region
scope… is a try-catch-finally
error handling…configure run after settings
6
learn from failures …
7
C# developer’s implement
defensive code…
… with not in Logic Apps?
first(body('Exec_SP_-_GetLastExecutionTime')?['resultsets']?['Table1'])?['LastRun']
empty(body('Exec_SP_-_GetLastExecutionTime')?['resultsets']?['Table1'])
8
expressions nightmare….
body('Execute_SP_-_Get_BZT_lock_error_details')?['ResultSets']?['Table1'][0]?['ErrorDescription’]
concat(div(sub(ticks(utcNow()), ticks(item()?['Created'])), 10000000), ' segundo(s)')
int(div(add(add(int(variables('ContentClear')), int(variables('GoodCommunicator'))) ,
add(int(variables('EnjoySession')), int(variables('MetExpectation')))),4))
body('Execute_SP_-_Get_BZT_lock_error_details')
Name of the actions with the
space replace by underscore
int(
div(
add(
add(
int(variables('ContentClear')),
int(variables('GoodCommunicator’))
) ,
add(
int(variables('EnjoySession')),
int(variables('MetExpectation’))
)
)
,4
)
)
control your connectors
(API connections)
Duplicate connections
Unused connections
Who are using this connections?
9
find orphaned API Connectors…
There is no simple and direct way to find unused API Connections
Nightmare for governance
One of the biggest pains in Logic App development10
https://www.integration-playbook.io/docs/find-orphaned-api-connectors
fix connectors
(API connections) …
Logic Apps Designer performs design-time checks
against your logic app flow for design issues
Errors put into focus to save your time and frustration
11
thanks…
Global Azure 2020 - Sandro Pereira - Logic apps: Best practices tips and tricks

Mais conteúdo relacionado

Semelhante a Global Azure 2020 - Sandro Pereira - Logic apps: Best practices tips and tricks

Resume latest Update
Resume latest UpdateResume latest Update
Resume latest Update
Vaibhav soni
 
WilliamHannahs_Data_Engineer
WilliamHannahs_Data_EngineerWilliamHannahs_Data_Engineer
WilliamHannahs_Data_Engineer
William Hannahs
 
Final Salesforce Resume Niharika Sharma
Final Salesforce Resume Niharika SharmaFinal Salesforce Resume Niharika Sharma
Final Salesforce Resume Niharika Sharma
niharika sharma
 
Shivakumar_Salesforce
Shivakumar_SalesforceShivakumar_Salesforce
Shivakumar_Salesforce
shiva kumar
 

Semelhante a Global Azure 2020 - Sandro Pereira - Logic apps: Best practices tips and tricks (20)

Conversational AI and Knowledge Mining with Microsoft Cognitive Services
Conversational AI and Knowledge Mining with Microsoft Cognitive ServicesConversational AI and Knowledge Mining with Microsoft Cognitive Services
Conversational AI and Knowledge Mining with Microsoft Cognitive Services
 
Resume latest Update
Resume latest UpdateResume latest Update
Resume latest Update
 
WilliamHannahs_Data_Engineer
WilliamHannahs_Data_EngineerWilliamHannahs_Data_Engineer
WilliamHannahs_Data_Engineer
 
Software development learning path - board infinity
Software development learning path - board infinitySoftware development learning path - board infinity
Software development learning path - board infinity
 
How to Hire and SRE in 5 minutes - Max Timchenko - DevOpsDays Tel Aviv 2017
How to Hire and SRE in 5 minutes - Max Timchenko - DevOpsDays Tel Aviv 2017How to Hire and SRE in 5 minutes - Max Timchenko - DevOpsDays Tel Aviv 2017
How to Hire and SRE in 5 minutes - Max Timchenko - DevOpsDays Tel Aviv 2017
 
Resume - Around 3 years_Shradha
Resume - Around 3 years_ShradhaResume - Around 3 years_Shradha
Resume - Around 3 years_Shradha
 
Final Salesforce Resume Niharika Sharma
Final Salesforce Resume Niharika SharmaFinal Salesforce Resume Niharika Sharma
Final Salesforce Resume Niharika Sharma
 
Enabling Data centric Teams
Enabling Data centric TeamsEnabling Data centric Teams
Enabling Data centric Teams
 
Resume
ResumeResume
Resume
 
RamaRaju_Profile
RamaRaju_ProfileRamaRaju_Profile
RamaRaju_Profile
 
Do I Use Planner, Project Online, or Azure DevOps?
Do I Use Planner, Project Online, or Azure DevOps?Do I Use Planner, Project Online, or Azure DevOps?
Do I Use Planner, Project Online, or Azure DevOps?
 
自己紹介とStoryblok紹介(5分 ver)
自己紹介とStoryblok紹介(5分 ver)自己紹介とStoryblok紹介(5分 ver)
自己紹介とStoryblok紹介(5分 ver)
 
ESPC16-HybridWS.pptx
ESPC16-HybridWS.pptxESPC16-HybridWS.pptx
ESPC16-HybridWS.pptx
 
From Beginners to Experts, Data Wrangling for All
From Beginners to Experts, Data Wrangling for AllFrom Beginners to Experts, Data Wrangling for All
From Beginners to Experts, Data Wrangling for All
 
Le futur de .NET
Le futur de .NETLe futur de .NET
Le futur de .NET
 
Why Developers Dig DevOps
Why Developers Dig DevOpsWhy Developers Dig DevOps
Why Developers Dig DevOps
 
Azure Meetup: Novità CosmosDB modalità Serverless e Cognitive Services
Azure Meetup: Novità CosmosDB modalità Serverless e Cognitive ServicesAzure Meetup: Novità CosmosDB modalità Serverless e Cognitive Services
Azure Meetup: Novità CosmosDB modalità Serverless e Cognitive Services
 
Shivakumar_Salesforce
Shivakumar_SalesforceShivakumar_Salesforce
Shivakumar_Salesforce
 
CV_Abhay_Pawar
CV_Abhay_PawarCV_Abhay_Pawar
CV_Abhay_Pawar
 
Light Side of Microsoft: AI and research projects you never heard of before
Light Side of Microsoft: AI and research projects you never heard of beforeLight Side of Microsoft: AI and research projects you never heard of before
Light Side of Microsoft: AI and research projects you never heard of before
 

Mais de Sandro Pereira

HOW CAN POWERAPPS AND MICROSOFT FLOW ALLOWS YOUR POWER USERS TO QUICKLY BUILD...
HOW CAN POWERAPPS AND MICROSOFT FLOW ALLOWS YOUR POWER USERS TO QUICKLY BUILD...HOW CAN POWERAPPS AND MICROSOFT FLOW ALLOWS YOUR POWER USERS TO QUICKLY BUILD...
HOW CAN POWERAPPS AND MICROSOFT FLOW ALLOWS YOUR POWER USERS TO QUICKLY BUILD...
Sandro Pereira
 
How to process Flat Files documents (TXT, CSV …) in BizTalk Server
How to process Flat Files documents (TXT, CSV …) in BizTalk ServerHow to process Flat Files documents (TXT, CSV …) in BizTalk Server
How to process Flat Files documents (TXT, CSV …) in BizTalk Server
Sandro Pereira
 

Mais de Sandro Pereira (20)

20201010 - Collabdays 2020 - Sandro Pereira - Power Automates: best practice...
20201010 -  Collabdays 2020 - Sandro Pereira - Power Automates: best practice...20201010 -  Collabdays 2020 - Sandro Pereira - Power Automates: best practice...
20201010 - Collabdays 2020 - Sandro Pereira - Power Automates: best practice...
 
Integrate 2020 - Sandro Pereira - BizTalk Server 2020 migration path
Integrate 2020 - Sandro Pereira - BizTalk Server 2020 migration pathIntegrate 2020 - Sandro Pereira - BizTalk Server 2020 migration path
Integrate 2020 - Sandro Pereira - BizTalk Server 2020 migration path
 
2019 06-25 - integrate 2019 US/UK - Sandro Pereira - BizTalk Server Fast and ...
2019 06-25 - integrate 2019 US/UK - Sandro Pereira - BizTalk Server Fast and ...2019 06-25 - integrate 2019 US/UK - Sandro Pereira - BizTalk Server Fast and ...
2019 06-25 - integrate 2019 US/UK - Sandro Pereira - BizTalk Server Fast and ...
 
2018 06-05 - integrate 2018 - Sandro Pereira - BizTalk Server notes from the ...
2018 06-05 - integrate 2018 - Sandro Pereira - BizTalk Server notes from the ...2018 06-05 - integrate 2018 - Sandro Pereira - BizTalk Server notes from the ...
2018 06-05 - integrate 2018 - Sandro Pereira - BizTalk Server notes from the ...
 
Integrate 2017 US - Sandro Pereira - BizTalk Server Fast and Loud
Integrate 2017 US - Sandro Pereira - BizTalk Server Fast and LoudIntegrate 2017 US - Sandro Pereira - BizTalk Server Fast and Loud
Integrate 2017 US - Sandro Pereira - BizTalk Server Fast and Loud
 
Sandro Pereira - BizTalk Server Fast and Loud
Sandro Pereira - BizTalk Server Fast and LoudSandro Pereira - BizTalk Server Fast and Loud
Sandro Pereira - BizTalk Server Fast and Loud
 
HOW CAN POWERAPPS AND MICROSOFT FLOW ALLOWS YOUR POWER USERS TO QUICKLY BUILD...
HOW CAN POWERAPPS AND MICROSOFT FLOW ALLOWS YOUR POWER USERS TO QUICKLY BUILD...HOW CAN POWERAPPS AND MICROSOFT FLOW ALLOWS YOUR POWER USERS TO QUICKLY BUILD...
HOW CAN POWERAPPS AND MICROSOFT FLOW ALLOWS YOUR POWER USERS TO QUICKLY BUILD...
 
BizTalk Server Deep Dive Tips and Tricks For Developers and Admins at TUGA IT
BizTalk Server Deep Dive Tips and Tricks For Developers and Admins at TUGA ITBizTalk Server Deep Dive Tips and Tricks For Developers and Admins at TUGA IT
BizTalk Server Deep Dive Tips and Tricks For Developers and Admins at TUGA IT
 
BizTalk Mapping Patterns and Best Practices at BizTalk User Group Sweden in G...
BizTalk Mapping Patterns and Best Practices at BizTalk User Group Sweden in G...BizTalk Mapping Patterns and Best Practices at BizTalk User Group Sweden in G...
BizTalk Mapping Patterns and Best Practices at BizTalk User Group Sweden in G...
 
API Management: Rise of the Planet of the Apps (2016 09-26 - Porto.Data)
API Management: Rise of the Planet of the Apps (2016 09-26 - Porto.Data)API Management: Rise of the Planet of the Apps (2016 09-26 - Porto.Data)
API Management: Rise of the Planet of the Apps (2016 09-26 - Porto.Data)
 
2015-12-02 - WebCamp - Microsoft Azure Logic Apps
2015-12-02 - WebCamp - Microsoft Azure Logic Apps2015-12-02 - WebCamp - Microsoft Azure Logic Apps
2015-12-02 - WebCamp - Microsoft Azure Logic Apps
 
BizTalk & SQL: Together for Developers & Admins
BizTalk & SQL: Together for Developers & AdminsBizTalk & SQL: Together for Developers & Admins
BizTalk & SQL: Together for Developers & Admins
 
Introduction to Microsoft Azure App Service (Logic and API Apps)
Introduction to Microsoft Azure App Service (Logic and API Apps)Introduction to Microsoft Azure App Service (Logic and API Apps)
Introduction to Microsoft Azure App Service (Logic and API Apps)
 
How to process Flat Files documents (TXT, CSV …) in BizTalk Server
How to process Flat Files documents (TXT, CSV …) in BizTalk ServerHow to process Flat Files documents (TXT, CSV …) in BizTalk Server
How to process Flat Files documents (TXT, CSV …) in BizTalk Server
 
BizTalk Server Deep Dive Tips & Tricks for Developers and Admins
BizTalk Server Deep Dive Tips & Tricks for Developers and AdminsBizTalk Server Deep Dive Tips & Tricks for Developers and Admins
BizTalk Server Deep Dive Tips & Tricks for Developers and Admins
 
Integration Tales: Logic & API apps to the rescue!
Integration Tales: Logic & API apps to the rescue!Integration Tales: Logic & API apps to the rescue!
Integration Tales: Logic & API apps to the rescue!
 
BizTalk: Server, Services and Apps
BizTalk: Server, Services and AppsBizTalk: Server, Services and Apps
BizTalk: Server, Services and Apps
 
SQLSaturday #341 porto - Introduction to Microsoft Azure BizTalk Services
SQLSaturday #341 porto - Introduction to Microsoft Azure BizTalk ServicesSQLSaturday #341 porto - Introduction to Microsoft Azure BizTalk Services
SQLSaturday #341 porto - Introduction to Microsoft Azure BizTalk Services
 
Lixsql port enterprise integration
Lixsql port   enterprise integrationLixsql port   enterprise integration
Lixsql port enterprise integration
 
Global Windows Azure Bootcamp – Lisboa - Windows Azure Biztalk Services
Global Windows Azure Bootcamp – Lisboa - Windows Azure Biztalk ServicesGlobal Windows Azure Bootcamp – Lisboa - Windows Azure Biztalk Services
Global Windows Azure Bootcamp – Lisboa - Windows Azure Biztalk Services
 

Último

Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
chiefasafspells
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
masabamasaba
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Medical / Health Care (+971588192166) Mifepristone and Misoprostol tablets 200mg
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
masabamasaba
 

Último (20)

%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
 
What Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationWhat Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the Situation
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
 
tonesoftg
tonesoftgtonesoftg
tonesoftg
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
 

Global Azure 2020 - Sandro Pereira - Logic apps: Best practices tips and tricks