SlideShare a Scribd company logo
Sponsored & Brought to you by
Do Logic Apps support error handling?
Howard Edidin
https://twitter.com/hsedidin
http://www.linkedin.com/in/hedidin
Do Logic Apps support error handling?
Howard S. Edidin
Agenda
• Use Cases
• DocumentDB
• The “Skip and Go Naked” design pattern
• Demo
• Next steps
6/28/2016 3
Use Case
• Logging
– Log original message from CRMOL.
• A fairly common Use Case in EDI
• Error Handling
– Log Response Errors returned from Receiver
– Viewing the Errors
6/28/2016 4
HL7 FHIR – Appointment Resource
• Appointment resources are used to provide information
about a planned meeting that may be in the future or past.
• The resource only describes a single meeting, a series of
repeating visits would require multiple appointment
resources be created for each instance.
• Examples include a scheduled surgery, a follow-up for a
clinical visit, a scheduled conference call between clinicians
to discuss a case, the reservation of a piece of diagnostic
equipment for a particular use, etc.
• The visit scheduled by an appointment may be in person or
remote (by phone, video conference, etc.) All that matters is
that the time and usage of one or more individuals,
locations and/or pieces of equipment is being fully or
partially reserved for a designated period of time.
6/28/2016 5
HL7 FHIR – Appointment Resource
• Use Case
– A scheduled conference call between clinicians to
discuss a case
6/28/2016 6
JSON Request Template
{
"resourceType" : "Appointment",
// from Resource: id, meta, implicitRules, and language
// from DomainResource: text, contained, extension, and modifierExtension
"identifier" : [{ Identifier }], // External Ids for this item
"status" : "<code>", // R! proposed | pending | booked | arrived | fulfilled | cancelled | noshow
"type" : { CodeableConcept }, // The type of appointment that is being booked
"reason" : { CodeableConcept }, // Reason this appointment is scheduled
"priority" : "<unsignedInt>", // Used to make informed decisions if needing to re-prioritize
"description" : "<string>", // Shown on a subject line in a meeting request, or appointment list
"start" : "<instant>", // When appointment is to take place
"end" : "<instant>", // When appointment is to conclude
"minutesDuration" : "<positiveInt>", // Can be less than start/end (e.g. estimate)
"slot" : [{ Reference(Slot) }], // If provided, then no schedule and start/end values MUST match slot
"comment" : "<string>", // Additional comments
"participant" : [{ // R! Participants involved in appointment
"type" : [{ CodeableConcept }], // Role of participant in the appointment
"actor" : { Reference(Patient|Practitioner|RelatedPerson|Device|
HealthcareService|Location) }, // Person, Location/HealthcareService or Device
"required" : "<code>", // required | optional | information-only
"status" : "<code>" // R! accepted | declined | tentative | needs-action
}]
}
6/28/2016 7
JSON Response Template
{
"resourceType" : "AppointmentResponse",
// from Resource: id, meta, implicitRules, and language
// from DomainResource: text, contained, extension, and modifierExtension
"identifier" : [{ Identifier }], // External Ids for this item
"appointment" : { Reference(Appointment) }, // R! Appointment this response relates to
"start" : "<instant>", // Time from appointment, or requested new start time
"end" : "<instant>", // Time from appointment, or requested new end time
"participantType" : [{ CodeableConcept }], // Role of participant in the appointment
"actor" : { Reference(Patient|Practitioner|RelatedPerson|Device|
HealthcareService|Location) }, // Person, Location/HealthcareService or Device
"participantStatus" : "<code>", // R! accepted | declined | tentative | in-process |
completed | needs-action
"comment" : "<string>" // Additional comments
}
6/28/2016 8
The Logic App
6/28/2016 9
Demo
6/28/2016 10
1. We will POST an Appointment request to our Logic App
2. Post a new Log Document (record) to a DocumentDB Collection
1. View the Log Document
3. Convert text comments into speech (audio file)
4. Create new DocumentDB Attachment for the audio file
5. Validate for success or failure
6. If Failed, then post Error Document (record) to a DocumentDB Collection
1. View the Error document
7. If Success, create Appointment Response message
1. Post the Response Message back to CRM.
Next step
6/28/2016 11
• The complete Logging and Error Handling
tutorial will be published on the Azure Logic
App examples and scenarios page.
• The source code will be available
Contact Information
6/28/2016 12
Howard S. Edidin MCTS, MCP, MS
Senior Azure Solution Architect
Microsoft MVP – Azure | Data Platform
Microsoft Integration P-TSP (Healthcare and Life Sciences)
Microsoft Azure Advisory Group
DocumentDB Wizard
100 Menlo Park, Suite 302B, Edison NJ 08837
Office: (732) 474-6844
Cell: (224) 360-3200
Toll Free: (855) VNB CONS
Email : howard.edidin@vnbconsulting.com
Web : www.vnbconsulting.com
HL7 Gold Member

More Related Content

PPTX
Azure DocumentDB for Healthcare Integration - Part 2
PPTX
The ART of Modern Azure Deployments
PPTX
曾勇 Elastic search-intro
PPTX
RavenDB Overview
PPTX
FHIR Server internals - sqlonfhir
PPTX
Elastic search intro-@lamper
PPTX
Azure DocumentDb Training - Accessing DocumentDb from .net
PPTX
Azure DocumentDb Training - Resource Model
Azure DocumentDB for Healthcare Integration - Part 2
The ART of Modern Azure Deployments
曾勇 Elastic search-intro
RavenDB Overview
FHIR Server internals - sqlonfhir
Elastic search intro-@lamper
Azure DocumentDb Training - Accessing DocumentDb from .net
Azure DocumentDb Training - Resource Model

What's hot (20)

PPTX
OData Services
PDF
Data persistence using pouchdb and couchdb
PPTX
Cosmosdb graph
PPTX
Elasticsearch
PDF
Whos afraid of front end databases?
PPTX
Open Data Protocol (OData)
PPTX
Introduction to Fauna
PPTX
Introduction to RavenDB
PPTX
Cool NoSQL on Azure with DocumentDB
PPTX
Perchè un programmatore ama anche i database NoSQL
PPTX
Kantara OTTO slides
PPTX
Introduction à DocumentDB
PPTX
Js il 2013 breeze.js
PPTX
Azure DocumentDB
PPT
Hibernate
PDF
Fluentd - Unified logging layer
PDF
Benjamin Guinebertière - Microsoft Azure: Document DB and other noSQL databas...
PPTX
Webinar: The Anatomy of the Cloudant Data Layer
OData Services
Data persistence using pouchdb and couchdb
Cosmosdb graph
Elasticsearch
Whos afraid of front end databases?
Open Data Protocol (OData)
Introduction to Fauna
Introduction to RavenDB
Cool NoSQL on Azure with DocumentDB
Perchè un programmatore ama anche i database NoSQL
Kantara OTTO slides
Introduction à DocumentDB
Js il 2013 breeze.js
Azure DocumentDB
Hibernate
Fluentd - Unified logging layer
Benjamin Guinebertière - Microsoft Azure: Document DB and other noSQL databas...
Webinar: The Anatomy of the Cloudant Data Layer
Ad

Similar to Do Logic Apps support error handling? (6)

PDF
What if we put the end user in the middle?
PPTX
CSE6329_Iterartion2_Presentation
PDF
Automating PeopleSoft HR Processes and Eliminating Paper Forms
PDF
SchedFull_Allscript_Challenge'13
PPTX
Kickoff Meeting Presentation - Palmetto Health
PDF
Leveraging Natural-language Requirements for Deriving Better Acceptance Crite...
What if we put the end user in the middle?
CSE6329_Iterartion2_Presentation
Automating PeopleSoft HR Processes and Eliminating Paper Forms
SchedFull_Allscript_Challenge'13
Kickoff Meeting Presentation - Palmetto Health
Leveraging Natural-language Requirements for Deriving Better Acceptance Crite...
Ad

More from BizTalk360 (20)

PPTX
Optimise Business Activity Tracking – Insights from Smurfit Kappa
PPTX
Optimise Business Activity Tracking – Insights from Smurfit Kappa
PPTX
What's inside "migrating to biz talk server 2020" Book (BizTalk360 Webinar)
PPTX
Integration Monday - Logic Apps: Development Experiences
PPTX
Integration Monday - BizTalk Migrator Deep Dive
PPTX
Testing for Logic App Solutions | Integration Monday
PPTX
No-Slides
PPTX
System Integration using Reactive Programming | Integration Monday
PPTX
Building workflow solution with Microsoft Azure and Cloud | Integration Monday
PPTX
Serverless Minimalism: How to architect your apps to save 98% on your Azure b...
PPTX
Migrating BizTalk Solutions to Azure: Mapping Messages | Integration Monday
PPTX
Integration-Monday-Infrastructure-As-Code-With-Terraform
PDF
Integration-Monday-Stateful-Programming-Models-Serverless-Functions
PPTX
Integration-Monday-Serverless-Slackbots-with-Azure-Durable-Functions
PPTX
Integration-Monday-Building-Stateful-Workloads-Kubernetes
PPTX
Integration-Monday-Logic-Apps-Tips-Tricks
PPTX
Integration-Monday-Terraform-Serverless
PPTX
Integration-Monday-Microsoft-Power-Platform
PDF
One name unify them all
PPTX
Securely Publishing Azure Services
Optimise Business Activity Tracking – Insights from Smurfit Kappa
Optimise Business Activity Tracking – Insights from Smurfit Kappa
What's inside "migrating to biz talk server 2020" Book (BizTalk360 Webinar)
Integration Monday - Logic Apps: Development Experiences
Integration Monday - BizTalk Migrator Deep Dive
Testing for Logic App Solutions | Integration Monday
No-Slides
System Integration using Reactive Programming | Integration Monday
Building workflow solution with Microsoft Azure and Cloud | Integration Monday
Serverless Minimalism: How to architect your apps to save 98% on your Azure b...
Migrating BizTalk Solutions to Azure: Mapping Messages | Integration Monday
Integration-Monday-Infrastructure-As-Code-With-Terraform
Integration-Monday-Stateful-Programming-Models-Serverless-Functions
Integration-Monday-Serverless-Slackbots-with-Azure-Durable-Functions
Integration-Monday-Building-Stateful-Workloads-Kubernetes
Integration-Monday-Logic-Apps-Tips-Tricks
Integration-Monday-Terraform-Serverless
Integration-Monday-Microsoft-Power-Platform
One name unify them all
Securely Publishing Azure Services

Recently uploaded (20)

PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Approach and Philosophy of On baking technology
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
Spectroscopy.pptx food analysis technology
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
cuic standard and advanced reporting.pdf
PPTX
Big Data Technologies - Introduction.pptx
PPTX
MYSQL Presentation for SQL database connectivity
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Electronic commerce courselecture one. Pdf
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPT
Teaching material agriculture food technology
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Dropbox Q2 2025 Financial Results & Investor Presentation
Approach and Philosophy of On baking technology
Chapter 3 Spatial Domain Image Processing.pdf
Programs and apps: productivity, graphics, security and other tools
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Spectroscopy.pptx food analysis technology
Understanding_Digital_Forensics_Presentation.pptx
cuic standard and advanced reporting.pdf
Big Data Technologies - Introduction.pptx
MYSQL Presentation for SQL database connectivity
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
20250228 LYD VKU AI Blended-Learning.pptx
Electronic commerce courselecture one. Pdf
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Teaching material agriculture food technology
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Diabetes mellitus diagnosis method based random forest with bat algorithm
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton

Do Logic Apps support error handling?

  • 1. Sponsored & Brought to you by Do Logic Apps support error handling? Howard Edidin https://twitter.com/hsedidin http://www.linkedin.com/in/hedidin
  • 2. Do Logic Apps support error handling? Howard S. Edidin
  • 3. Agenda • Use Cases • DocumentDB • The “Skip and Go Naked” design pattern • Demo • Next steps 6/28/2016 3
  • 4. Use Case • Logging – Log original message from CRMOL. • A fairly common Use Case in EDI • Error Handling – Log Response Errors returned from Receiver – Viewing the Errors 6/28/2016 4
  • 5. HL7 FHIR – Appointment Resource • Appointment resources are used to provide information about a planned meeting that may be in the future or past. • The resource only describes a single meeting, a series of repeating visits would require multiple appointment resources be created for each instance. • Examples include a scheduled surgery, a follow-up for a clinical visit, a scheduled conference call between clinicians to discuss a case, the reservation of a piece of diagnostic equipment for a particular use, etc. • The visit scheduled by an appointment may be in person or remote (by phone, video conference, etc.) All that matters is that the time and usage of one or more individuals, locations and/or pieces of equipment is being fully or partially reserved for a designated period of time. 6/28/2016 5
  • 6. HL7 FHIR – Appointment Resource • Use Case – A scheduled conference call between clinicians to discuss a case 6/28/2016 6
  • 7. JSON Request Template { "resourceType" : "Appointment", // from Resource: id, meta, implicitRules, and language // from DomainResource: text, contained, extension, and modifierExtension "identifier" : [{ Identifier }], // External Ids for this item "status" : "<code>", // R! proposed | pending | booked | arrived | fulfilled | cancelled | noshow "type" : { CodeableConcept }, // The type of appointment that is being booked "reason" : { CodeableConcept }, // Reason this appointment is scheduled "priority" : "<unsignedInt>", // Used to make informed decisions if needing to re-prioritize "description" : "<string>", // Shown on a subject line in a meeting request, or appointment list "start" : "<instant>", // When appointment is to take place "end" : "<instant>", // When appointment is to conclude "minutesDuration" : "<positiveInt>", // Can be less than start/end (e.g. estimate) "slot" : [{ Reference(Slot) }], // If provided, then no schedule and start/end values MUST match slot "comment" : "<string>", // Additional comments "participant" : [{ // R! Participants involved in appointment "type" : [{ CodeableConcept }], // Role of participant in the appointment "actor" : { Reference(Patient|Practitioner|RelatedPerson|Device| HealthcareService|Location) }, // Person, Location/HealthcareService or Device "required" : "<code>", // required | optional | information-only "status" : "<code>" // R! accepted | declined | tentative | needs-action }] } 6/28/2016 7
  • 8. JSON Response Template { "resourceType" : "AppointmentResponse", // from Resource: id, meta, implicitRules, and language // from DomainResource: text, contained, extension, and modifierExtension "identifier" : [{ Identifier }], // External Ids for this item "appointment" : { Reference(Appointment) }, // R! Appointment this response relates to "start" : "<instant>", // Time from appointment, or requested new start time "end" : "<instant>", // Time from appointment, or requested new end time "participantType" : [{ CodeableConcept }], // Role of participant in the appointment "actor" : { Reference(Patient|Practitioner|RelatedPerson|Device| HealthcareService|Location) }, // Person, Location/HealthcareService or Device "participantStatus" : "<code>", // R! accepted | declined | tentative | in-process | completed | needs-action "comment" : "<string>" // Additional comments } 6/28/2016 8
  • 10. Demo 6/28/2016 10 1. We will POST an Appointment request to our Logic App 2. Post a new Log Document (record) to a DocumentDB Collection 1. View the Log Document 3. Convert text comments into speech (audio file) 4. Create new DocumentDB Attachment for the audio file 5. Validate for success or failure 6. If Failed, then post Error Document (record) to a DocumentDB Collection 1. View the Error document 7. If Success, create Appointment Response message 1. Post the Response Message back to CRM.
  • 11. Next step 6/28/2016 11 • The complete Logging and Error Handling tutorial will be published on the Azure Logic App examples and scenarios page. • The source code will be available
  • 12. Contact Information 6/28/2016 12 Howard S. Edidin MCTS, MCP, MS Senior Azure Solution Architect Microsoft MVP – Azure | Data Platform Microsoft Integration P-TSP (Healthcare and Life Sciences) Microsoft Azure Advisory Group DocumentDB Wizard 100 Menlo Park, Suite 302B, Edison NJ 08837 Office: (732) 474-6844 Cell: (224) 360-3200 Toll Free: (855) VNB CONS Email : howard.edidin@vnbconsulting.com Web : www.vnbconsulting.com HL7 Gold Member