Presentation is loading. Please wait.

Presentation is loading. Please wait.

Microsoft Flow Tips, pitfalls, problems and warnings

Similar presentations


Presentation on theme: "Microsoft Flow Tips, pitfalls, problems and warnings"— Presentation transcript:

1 Microsoft Flow Tips, pitfalls, problems and warnings
Jon Serge SharePoint Saturday Zurich @Kraftwert Impact Hub Zurich

2 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: @sergeluca SharePoint Flow Dev Architecture Bullshit

3

4 Agenda Agenda Agenda Agenda

5 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

6 Agenda Agenda The Concept Agenda

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

8 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

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

10 Creating Flow Agenda

11 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)

12 Flow templates

13

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

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

16 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 ?

17 Limitations 250 actions/flow Loops SharePoint Create nested flows
Max iterations in Do until Max iterations in For each ( 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

18 Limitation : no state machines

19 Limitation : no custom approval form

20 Microsoft Flow and On Premises
Agenda 13’+hotdog

21 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

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

23 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) Show how to login App launcher ? SharePoint list online Show 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

24 Environments

25 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]

26 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

27 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

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

29 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)

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

31 Pricing & roadmap

32

33 Tarifs: Comparaison

34 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: Long calls :

35 Conclusions

36 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

37 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

38 Thank you for attending!

39 Let’s get in touch Send your message, advices, and suggestions at
Come visit us at We speak all around the world, come and meet us!! Read our Blogs Follow and like us @sergeluca @jonjlevesque

40 Calling a long Service (callback)

41 Error Handling

42 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 as user or system System only Attachments Yes new

43 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


Download ppt "Microsoft Flow Tips, pitfalls, problems and warnings"

Similar presentations


Ads by Google