Download - SPUnite17 Introducing Logic Apps
2Slide
2
Introducing Logic Apps | Penelope Coventry | 17:25 – 17:45 25th October 2017
Follow us:
#SPUnite17
3Slide
3
Introducing Logic Apps | Penelope Coventry | 17:25 – 17:45 25th October 2017
Follow us:
#SPUnite17
Penny Coventry
• MVP: Office Server and Services• 11 years
• Author/Co-author • 10+ SharePoint Books
• Independent consultant
• Trainer & product specialist
• Worked with SharePoint since 2001
• UK Based, work in Europe & US
@pjcov
4Slide
4
Introducing Logic Apps | Penelope Coventry | 17:25 – 17:45 25th October 2017
Follow us:
#SPUnite17
Integration problems & automation – Logic Apps
• Software as a Service - SaaS
• One of the Azure serverless application services• Abstraction of servers
• Manage apps not servers• Reduce DevOps
• Event-driven / instant scale• Micro billing• Faster time to market• Combination Azure services is often the best way
• Gluing together disparate systems
• Workflow – Logic – Reusability
• Web and cloud based
5Slide
5
Introducing Logic Apps | Penelope Coventry | 17:25 – 17:45 25th October 2017
Follow us:
#SPUnite17
Serverless application platform components
6Slide
6
Introducing Logic Apps | Penelope Coventry | 17:25 – 17:45 25th October 2017
Follow us:
#SPUnite17
Logic Apps is Powerful Integration
• Hyperscale Workflow Engine, born in Azure• Faster integration using innovative Visual Designer
• Easy workflow creation with triggers and actions
• Mashup applications, data and services
• Built for mission critical Enterprise Integration
• Create, deploy, manage and monitor
8Slide
8
Introducing Logic Apps | Penelope Coventry | 17:25 – 17:45 25th October 2017
Follow us:
#SPUnite17
Visual Studio Tooling
Hosted Logic App Designer
Resource Group Project
Cloud Explorer
XML and B2B artifacts
9Slide
9
Introducing Logic Apps | Penelope Coventry | 17:25 – 17:45 25th October 2017
Follow us:
#SPUnite17
Trigger & Run History
Monitoring view
Diagnostics
Alerts
10Slide
10
Introducing Logic Apps | Penelope Coventry | 17:25 – 17:45 25th October 2017
Follow us:
#SPUnite17
Enable diagnostic logging
Tracked properties
Tracking API
Operations Management Suite
11Slide
11
Introducing Logic Apps | Penelope Coventry | 17:25 – 17:45 25th October 2017
Follow us:
#SPUnite17
Flow is powered by Logic apps
• Successor to SharePoint Designer workflows
• Flow & Logic Apps • Uses public APIs and standard runtime• Workflows defined using JSON formatted models • Leverages same visual designer / editor • Logic Apps can always do everything that Flow can do• Pro tip:
• the "advanced" mode for conditions uses the same language
• Flow has additional UX / experiences • Simplified experience for typical office worker
Flow
Logic apps
Managed APIsor Custom APIs
Uses the Public RESTAPIs for management
Calls into at runtime
12Slide
12
Introducing Logic Apps | Penelope Coventry | 17:25 – 17:45 25th October 2017
Follow us:
#SPUnite17
Azure Logic Apps GA July 2016
• Aimed at IT Pros & developers
• Browser – Azure Portal
• Visual Studio• Designer
• Code view – view Workflow Definition Language
• Extensible
• Source control, testing, support, and automation
• Manageability in Azure Resource Management (ARM)
13Slide
13
Introducing Logic Apps | Penelope Coventry | 17:25 – 17:45 25th October 2017
Follow us:
#SPUnite17
Components
• Connectors
• Integration Accounts• Trading Partners
• EDI
• XML handling
• Flat File handling
• Business tracking
• Triggers• Recurrence & Adv. Scheduling
• Polling
• Webhook
• Request
• Actions• Invokes Services
• Managed connectors
• App Service APIs
• API Management
• Azure Functions
• Workflow
• HTTP + Swagger
• HTTP
• Behaviors• Retry policy
• Run after
• Limit
• Operation Options
• Response
• Webhook
• Delay
• Terminate
• Message Handling• Compose
• Query
• Table
• Request schema
• Parse JSON
• Xpath & XSLT
• XML Validation
• Flow Control• Scope
• Foreach
• DoUntil
• Switch
• Condition
• Expressions & Operators
14Slide
14
Introducing Logic Apps | Penelope Coventry | 17:25 – 17:45 25th October 2017
Follow us:
#SPUnite17
17Slide
17
Introducing Logic Apps | Penelope Coventry | 17:25 – 17:45 25th October 2017
Follow us:
#SPUnite17
Setting up a dev environment
• VM • Visual Studio Community• Azure Logic Apps Tools for Visual Studio• Enterprise Integration Pack SDK?• PowerShell modules
• Azure (development / test / production)• Web Apps• Integration Accounts ~ repository • Logic Apps / Service Bus / Azure Functions / Azure Event Grid• Need one subscription or one resource group for each Environment• Do not cross Regions with Logic Apps
18Slide
18
Introducing Logic Apps | Penelope Coventry | 17:25 – 17:45 25th October 2017
Follow us:
#SPUnite17
Do not be afraid of JSON
• Caution: • Can upset Logic App when editing JSON
• Always Save or check-in to TFS before switching to JSON
• Sometimes cannot switch back until express is valid
• Ensure whole Action configured - might not be able to save
• Ensure you name the Action correctly as soon as you create it
19Slide
19
Introducing Logic Apps | Penelope Coventry | 17:25 – 17:45 25th October 2017
Follow us:
#SPUnite17
Microsoft Accounts
• Using more than one Microsoft account caused all kinds of issues locally
• Best to use one account if you can
• Always access Azure Portal via Incognito window
• If you get odd deployment results, close browser and try again
20Slide
20
Introducing Logic Apps | Penelope Coventry | 17:25 – 17:45 25th October 2017
Follow us:
#SPUnite17
Auto-merge
• Avoid deploying from Visual Studio when you have Logic App open inside the web editor
• Sometimes they will try to auto-merge
21Slide
21
Introducing Logic Apps | Penelope Coventry | 17:25 – 17:45 25th October 2017
Follow us:
#SPUnite17
Connections
• Defined at the Logic App level
• Lives at the Resource Group level
• Last deployment or update wins
• Defined all connection parameters in one Logic App
• Use one connection per destination per Resource Group and share it across many Logic Apps
22Slide
22
Introducing Logic Apps | Penelope Coventry | 17:25 – 17:45 25th October 2017
Follow us:
#SPUnite17
Resources – Logic Apps• How to get started:
http://aka.ms/logicapps-tryhttp://aka.ms/logicapps-tutorial
• Logic Apps GitHub: http://github.com/logicappsio
• Logic Apps Blog: http://aka.ms/logicappsblog
• Microsoft Integration on Channel 9: https://channel9.msdn.com/Blogs/Microsoft-Integration
• Twitter: @logicappsio @AzureFunctions
• Logic Apps Ideas: http://aka.ms/logicapps-wish
• Logic Apps Monthly Webcast: http://aka.ms/logicappslive
• Logic Apps documentation: http://aka.ms/logicapps-docs
• Export ARM template from an existing Logic App using Windows PowerShell:https://github.com/jeffhollan/LogicAppTemplateCreator
• Some of the team: Jon Fancey, Kevin Lam, Jeff Hollan, @jeffhollan, Josh Twist, @joshtwist, Jim Harrer
23Slide
23
Introducing Logic Apps | Penelope Coventry | 17:25 – 17:45 25th October 2017
Follow us:
#SPUnite17
Resources – Ignite 2017, September 25-29, Orlando: Logic Apps
• BRK2188: Enterprise integration with Microsoft Azure Logic Apps https://myignite.microsoft.com/sessions/55066
• THR2109: Data integration with Azure Logic Appshttps://myignite.microsoft.com/sessions/57069
• BRK3179: Build cloud-first Enterprise integration solutions with Logic Appshttps://myignite.microsoft.com/sessions/54873
• BRK3246: A day in the life of an Azure serverless developer https://myignite.microsoft.com/sessions/54876
24Slide
24
Introducing Logic Apps | Penelope Coventry | 17:25 – 17:45 25th October 2017
Follow us:
#SPUnite17
Questions? | Thank You!
Penelope Coventry
We’d like to know what you think!