Microsoft Flow Tips, pitfalls, problems and warnings

Slides:



Advertisements
Similar presentations
Designing, Deploying and Managing Workflow in SharePoint Sites Steve Heaney Product Development Manager OBS
Advertisements

Power BI Sites and Mobile BI. What You Will Learn Sharing and Collaboration Introducing Power BI Exploring Power BI Features and Services Partner Opportunities.
Basic SharePoint 2013 App Development start-up for New Developers
Creating Business Workflow Using SharePoint Designer 2007 Presented by Tarek Ghazali IT Technical Specialist Microsoft SQL Server MVP Microsoft SQL Server.
Microsoft Dynamics Snap Michael McClary ISV Developer Evangelist Microsoft Corporation.
Todd Kitta  Covenant Technology Partners  Professional Windows Workflow Foundation.
Colin Phillips :: SharePoint Consultant with Introduction to Nintex Workflow 2010.
Early Intro to Logic Apps & Power Apps Kyle Wilson Microsoft - PTS.
Secure Scalable Managed Integrated Compliant Fast Iterative Cross-platform Beautiful Easy VS.
Jennifer Pearcey eWorld Enterprise (for live demo)
Solving Modern Day Business Problems Using Power Apps
PRESENTS TECHNOLOGY PARTNER INTEGRATION DAY MICROSOFT GTSC, Bengaluru September 10, 2016 Tulika Chaudharie / Harikharan Krishnaraju Escalation Engineer,
PowerApps and Microsoft Flow for SharePoint Developers Brian T. Jackett Sr. Premier Field Engineer, Microsoft.
Serverless in Office 365 Build services with Azure Functions
Building Azure Logic Apps
Microsoft /7/2018 9:01 PM BRK2160 Build business applications with Power Apps, Microsoft Flow, and Office 365 Merwan Hade Senior Program Manager.
Stephen W. Thomas Integration MVP
Becky Bertram January 21, 2017 SharePoint Saturday St. Louis
5/9/2018 9:30 AM BRK2215 Deliver better experiences with SharePoint Patterns and Practices Community Solutions Mike Ammerlaan Product Marketing Manager,
Smart Building Solution
Make Power BI Your Own with the Power BI APIs
5/25/2018 8:27 AM BRK3348 Create custom forms and digital experiences in SharePoint using Microsoft PowerApps Cathy Dew Senior Product Marketing Manager.
Using Azure Functions to Build Nanoservices
6/17/ :27 AM BRK3341 Unlock extensibility by connecting your service to PowerApps and Microsoft Flow Theresa (Tessa) Palmer–Sr. Program Manager Sunay.
Transition Your SharePoint Designer Workflows to Microsoft Flow
Smart Building Solution
Microsoft Ignite /22/2018 3:27 PM BRK2121
Get Started with Common Data Model (CDM) and PowerApps
Power BI Security Best Practices
Extensible Platform Microsoft Dynamics 365
PowerApps and Microsoft Flow for Business Users
Microsoft Build /6/2018 4:41 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Develop for the Experience Business with Adobe and Microsoft
Microsoft Ignite /13/2018 7:38 PM BRK2247
PowerApps for SharePoint Users
SharePoint Framework Extensions
SharePoint Saturday Detroit
Eli Robillard Microsoft Office Server & Services MVP
Special thanks to our sponsors!
Microsoft Flow and PowerApps End-to-End
The New Breed: OMS, Flow, and Power BI Integration
Build Bot using PowerApps
Martin Abbott Integration MVP
Modern Collaboration in Teams & Projects Powered by Office 365
9/21/2018 8:13 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Make Power BI Your Own with the Power BI APIs
Power Apps & Flow for Microsoft Dynamics SL
Introduction to Office365 Forms and Flow
Using Microsoft Flow with Power BI
Unlock The Power of Your Business Processes Demystifying Workflow Solutions
Make Power BI Your Own with the Power BI APIs
Discover what’s new and what’s coming to SharePoint Modern Team sites
Make Your Life Easier with Microsoft Flow
Collaborative Business Solutions
SharePoint User Group Zürich – 1 November 2016.
Site scripts and Site Design
Technical Capabilities
SPO Demos to Business Value Discussion Pillar Mapping
Microsoft Flow Approvals 101
PowerApps and Flow.
Explore PnP Partner Pack for IT pros, admins and architects
Power BI Streaming Datasets with MS Flow
Hello, Minnesota! This is the SPC18 recap.
PowerApps in MS Flow Robi Vončina.
TN19-TCI: Integration and API management using TIBCO Cloud™ Integration
Guest management with the Power Platform & the Microsoft Graph
SQL Saturday Madison, April 8th
FLOW 101 Power BI User Group.
Automation in a hybrid world
PowerApps Hackathon.
Presentation transcript:

Microsoft Flow Tips, pitfalls, problems and warnings Jon Levesque @PNWAdventureGuy Serge Luca @sergeluca SharePoint Saturday Zurich 26.5.2018 @Kraftwert Impact Hub Zurich

Managing Partner at ShareQL Serge Luca Managing Partner at ShareQL About Serge Professional Skills 12 x SharePoint MVP, Brussels SharePoint since 2002 O365 Architect (Admin, Dev, governance) Worked for the MS workflow team Blog: http://sergeluca.wordpress.com/ sergeluca@shareql.com @sergeluca SharePoint Flow Dev Architecture Bullshit

Agenda Agenda Agenda Agenda

04 06 02 03 05 01 Agenda Price & roadmap Creating Flows Flows and Environment + Data Loss prevention Price & roadmap Creating Flows 03 05 01 Introduction The concept Flows and on premises Extensibility : communication with the outside world

Agenda Agenda The Concept Agenda

4 main Benefits Bridge between Applications Personal productivity Collaboration Citizen development Bridge between Applications Quickly create (0 code) Business Processes apps

The context-Business Apps Build modern business app fast MEASURE ACT AUTOMATE Empower power users PowerApps Power BI Microsoft Flow More efficient developers App Services Service Fabric Azure Functions … Azure functions Graph api SQL Server BI Data analytics Internet of Things (IoT) Common Data Model Connectors & Gateways Connect data across apps

PowerApps & Flow : buildings bloc for ERP & CRM Dynamics 365

Creating Flow Agenda

Creating and managing Flows Microsoft Account (free) or Office 365 or Dynamics 365 or Flow (paid) or PowerApps (or free new PowerApps Community Plan) Flow.microsoft.com From Powerapps.microsoft.com From A modern SharePoint Online list / document library Mobile app (iOS-Android-Windows Mobile)

Flow templates

demo Hot dog not hotdog 5 minutes until this demo 5 minutes for the demo Hot dog not hotdog

demo Expense report Until here : 10 minutes 7 minutes for the demo = 17 minutes Expense report

Approval problems… approval reassignment What do we do if the item (to be approved) is deleted ? What if the flow is cancelled ? approval reassignment (cannot hide it, does not work with states) Flow limitations : flow duration = max 30 days Approval duration = max 30 days ->What if Approval 1 = 20 days & Approval 2 = 15 days ?

Limitations 250 actions/flow Loops SharePoint Create nested flows Max 5.000 iterations in Do until Max 5.000 iterations in For each (100.000 in Plan 1) 250 flow/ environmt No OOB site level actions ->roadmap ( new : Send An Http Request To SharePoint )  Cannot OOB change item security ->roadmap ( new : Send An Http Request To SharePoint )  SharePoint security model is not Flow security model (roadmap) SharePoint

Limitation : no state machines

Limitation : no custom approval form

Microsoft Flow and On Premises Agenda 13’+hotdog

Flow and data on premises Install the « on Premises data gateway » (shared between PowerBI, PowerApps and Azure Logic Apps) Not just databases, but also Powershell scripts, files and (recently) : REST API web services

SharePoint 2019 and Microsoft Flow/PowerApps are becoming good friends !!!

demo Flow & Data on preM Jusqu’ici: 7 min Duréee 8-10 min Demo scan Ondrive If doesn’t work set filepath is the content parameter (send mail) https://shareql.sharepoint.com/demosharepoint/nintext/ Show how to login App launcher ? SharePoint list online Show services https://flow.microsoft.com/en-us/services/ ( > 60 services) Show templates Type « SharePoint » to see sharepoint actions and « Office 365 » Triggers ( show triggers) Triggers in SharePoint Show flow « ShareQL expense » When a new item is created in expenses, ask my manager approve it if it is > 500 euros Flow & Data on preM

Environments

Environments & compliance Isolated spaces where Flows/Data are running/stored Ex HR, Marketing, Operations, Legal, DEV, TEST, UAT, PROD… Different rules (DLP) Ex « Marketing can use twitter, But Legal and Operations cannot » Different regions if needed [Plan 2 for creating & using several Env]

ENVIRONMENTS DEV MARKETING TEST MARKETING UAT MARKETING PROD MARKETING DEV OPERATIONS US TEST OPERATIONS US UAT OPERATIONS US PROD OPERATIONS US US DLP DEV OPERATIONS EUROPE TEST OPERATIONS EUROPE UAT OPERATIONS EUROPE PROD OPERATIONS EUROPE EU DLP

Attention We can export-import Flows from Env1 to Env2 We have to recreate the connections (fixed in roadmap) SharePoint lists based on GUID (! From SharePoint test site to SharePoint prod site !) On premise data gateway : Gateways only in the default environment

Communication with the outside world Extensibility & Communication with the outside world

Call – Flow - Called PowerApps calls Flow & return info to PowerApps Action Request (usually coupled with Response action) Action Http (generic) Action Send an http Request to SharePoint Custom Connector (REST API described in a Swagger/Open API ) A custom app calls Flow (« Flow as a service ») Flow calls the outside world PowerBI calls Flow (Data Alerts)

Power BI & Flow FLOW POWER BI LIVE STREAMING DATA DATA SOURCES SCHEDULED REFRESH FLOW POWER BI DATA ALERTS

Pricing & roadmap

Tarifs: Comparaison

Advices Keep your forms as simple as possible Manage the business logic in the workflow Use environments For Enterprise workflows define system accounts for your connections For personal workflows use personal accounts Limitations Create state machines if several levels of approval Manage errors (see pattern) Manage very long calls (see pattern ) Learn the Logic Apps Workflow Definition Language (WDL) Error handling pattern: https://sergeluca.wordpress.com/2018/03/12/pattern-for-microsoft-flow-error-handling/ Long calls : https://sergeluca.wordpress.com/2018/02/04/pattern-implementation-for-making-long-async-http-calls-in-microsoft-flow-part-2-http-webhook/

Conclusions

Room for improvement Workflow engine very reliable, but test the connectors No state machines (but we have loops and switch) Approval forms cannot be customized JSON knowledge could be required (but less and less…) Flow duration : 30 days, Approval : 30 days Weak for long business processes ! Expressions : powerful, but steep learning curve

Positive Easy tool Not just SharePoint (it replaces SPD) Connections to hundreds of services Including on prem! SharePoint Integration is getting better PowerApps, PowerBI integration The Team Flow is very proactive & delivers

Thank you for attending!

Let’s get in touch Send your message, advices, and suggestions at Serge@ShareQL.com Come visit us at We speak all around the world, come and meet us!! https://www.shareql.com/events Read our Blogs https://sergeluca.wordpress.com/ http://jonlevesque.com/blog Follow and like us @sergeluca @jonjlevesque https://www.shareql.com/masterclassflow https://www.youtube.com/channel/UClBCcDTylJUzvP8sycg6pEA

Calling a long Service (callback)

Error Handling https://sergeluca.wordpress.com/2018/03/12/pattern-for-microsoft-flow-error-handling/

Appendix SharePoint Designer Flow Multiple connections to >150 data sources SQL, SP, ODBC & WSDL only ALWAYS Out of box templates <5 100s Workflow & approval history <365 days Perpetual Approvals over mobile + mobile notifications NEVER iOS, Android, Windows Phone + in Outlook. History coming imminently.  Loops, Do Until, Switch-case, parallels, variables Yes On-premises support Native Gateway support Extended field types (people, choice, MMS, lookup) People, choice, lookup – Yes new, MMS – coming soon Send email as user or system System only Attachments Yes new

Appendix SharePoint Designer Flow Out-of-box send for review Limited Q4CY2017 Reassignment of approvals Yes Approval reminders Custom input forms for approvers Document library CI-CO, approve Future Approver impersonation Via permission elevation Site level actions Set permissions on an item