Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Building workflow solution with Microsoft Azure and Cloud | Integration Monday

127 views

Published on

Most will agree that a business process can be a workflow. But, what do people think of when running workflows in the Cloud and in particular Azure or Microsoft Cloud. Because, Microsoft Azure and Cloud offer us several options to build them: No-code/low-code, and a code option with Power Automate, Logic Apps, and Durable Functions? In this session, we'll explore each and focus on building workflows with them. Furthermore, we'll see the differences and how each could potentially, complement the other.

Published in: Technology
  • Login to see the comments

  • Be the first to like this

Building workflow solution with Microsoft Azure and Cloud | Integration Monday

  1. 1. Building Workflow Solutions with Microsoft Azureand Cloud @SteefJan
  2. 2. Me Azure Technology Consultant Microsoft MVP – Azure InfoQ Cloud Editor WAZUG NL board member Azure Lowlands Organizer Writer
  3. 3. Cloud workflow story • Business process/workflow • Microsoft • Power Automate • Logic Apps • Durable Functions • Under the hood • Pricing • Use case’s/customer stories • Monitoring, Reporting Governance • Market • Takeaways • Call to action
  4. 4. What is a business process? A business process, business method or business function is a collection of related, structured activities or tasks by people or equipment in which a specific sequence produces a service or product (serves a particular business goal) for a particular customer or customers. Answer: I will ask my online encyclopedia: Wikipedia (Business process)
  5. 5. Workflow Workflow is the procedural movement of information, material, and tasks from one participant to another.
  6. 6. Technology Workflow Execute a series of steps to automate a business process. Offers a connector library, provide control flow, and statefulness. Power Automate, Azure Logic Apps, Durable Functions
  7. 7. Cloud Vendor - Microsoft Microsoft Cloud: Power Automate part of Power Platform Microsoft Azure: Logic Apps and Azure Functions
  8. 8. Microsoft Power Platform Power BI Business analytics Power Apps Application development Power Automate Process automation Power Virtual Agents Intelligent virtual agents The low-code platform that spans Office 365, Azure, Dynamics 365, and standalone applications Innovation anywhere. Unlocks value everywhere. Common Data Service Data connectors AI BuilderPortals
  9. 9. What can Power Automate do? Automation at scale Efficiently scale automation across your organization Seamless,secure integration Securely integrate automation at every level Accelerated productivity Accelerate productivity and focus on more strategic work Intelligent automation Increase efficiency through automated workflows infused with AI
  10. 10. Enable Digital Transformation across the organization Automating legacy applications Building Departmental solutions Building mission-critical end-to-end solutions Extending Office365 and Dynamics 365 Power Automate
  11. 11. Microsoft Azure Platform A wide range of services: IaaS and PaaS
  12. 12. What can Logic Apps do? • Connect to on- premises, hybrid, and cloud applications • Run mission critical, complex integration scenarios with ease • Build smart integrations leveraging machine learning, cognitive services
  13. 13. Supporting various enterprise scenario’s Messaging Eventing Data wrangling B2B & EDI (hybrid) EAI Process automation Smart SaaS
  14. 14. Efficiently scale background processes Flexibility integrate at various levels Enhanced productivity for developers What can Durable Functions do? Automation at scale Flexible integration Enhancedproductivity
  15. 15. Writing flexible workflows Azure FunctionExtension Based up on theDurable Task Framework – OSS library since 2014. Persistence on Azure Implementation ofstateful workflow-as-code Storage
  16. 16. IDE, Development & DevOps
  17. 17. Power Automate Trigger Action Conditional Logic
  18. 18. Power Automate Check and Real-time Testing Check flow Real-time testing
  19. 19. Application Lifecycle Management Unpack and store in source control Release to Production Export Solutions from Dev Environment
  20. 20. Logic Apps Trigger Action Conditional Logic
  21. 21. Logic App Run History and resubmit Resubmit Inspect
  22. 22. Application Lifecycle Management Push and store in source control Release to Production Author Logic Apps in Visual Studio or Code or Browser
  23. 23. Azure Durable Functions Orchestrator Activity Client
  24. 24. Local test and debug Test Debug
  25. 25. Application Lifecycle Management Push and store in source control Release to Production Author Azure Durable Functions in Visual Studio or Code
  26. 26. Under the hood
  27. 27. Runtime - Logic App Workflow Engine • Logic Apps is a job scheduler with a JSON-based DSL describing a dependency graph of actions • Highly parallelized concurrent job execution engine
  28. 28. Component Architecture • Logic Apps RP Reads the workflow definition and breaks down into a composition of tasks with dependencies • Logic Apps Runtime Distributed compute/workers are coordinated to complete tasks on- demand • Connection Manager Manages connection configuration, credentials and token refreshment • Connector Runtime API abstraction via Open API descriptions
  29. 29. Task Resiliency • No active thread management – tasks and runs can existin parallel and at massive scale • At least once guaranteed execution • Transient failures invoke retry-policies (DNS issues, throttles, or 5xx responses) • If the task doesn’t respond, workflow orchestrator will assign a new task (at least once guarantee)
  30. 30. Declarative workflow solutions
  31. 31. Azure Functions programming model
  32. 32. Durable Functions Durable Task Framework (DTFx) Durable Functions runtime extension Durable storage / messaging
  33. 33. Stateful pattern #1: Function chaining F1 F2 F3 Problems: • Relationship between functions and queues is unclear. • Operation context cannot be easily captured without a database. • Middle queues are an implementation detail (conceptual overhead). • Error handling adds a lot more complexity.
  34. 34. How it looks in code F1 F2 F3 // calls functions public static async Task<object> Run(IDurableOrchestrationContext ctx) { try { var x = var y = return } catch (Exception) { // error handling/compensation can go here (or anywhere) } } Orchestrator Function in sequence Activity Functions await await await ctx.CallActivityAsync("F1"); ctx.CallActivityAsync("F2", x); ctx.CallActivityAsync("F3", y);
  35. 35. Behind the scenes 1. 2. 3. var x = await ctx.CallActivityAsync("F1"); var y = await ctx.CallActivityAsync("F2", x); return await ctx.CallActivityAsync("F3", y); Orchestrator Function F1 => return 42; F2 => return n + 1; F3 => return n + 2; Execution started Task scheduled, F1 Task completed, F1 => 42 Task scheduled, F2 Task completed, F2 => 43 Task scheduled, F3 Task completed, F3 => 45 Orchestrator completed => 45
  36. 36. Pricing
  37. 37. Microsoft Power Automate Plans Licensed by flow Starting at $500/month (Min purchase of 5 flows) Implement flows with reserved capacity that serve unlimited users across an organization. Per Flow Per user Licensed by user $15 user/month Allow individual users to create unlimited flows based on their unique needs Seeded Flow Licensed through Office 365, Dynamics 365 & PowerApps Automate business processes and workflows for Office 365, Dynamics 365 & PowerApps
  38. 38. Logic Apps – Pricing/Hosting
  39. 39. Azure (Durable) Functions • Consumption Plan • Premium Plan (including VNET Integration) • App Service Plan (including dedicated)
  40. 40. Hosting Options https://www.codit.eu/blog/why-running-azure-logic-apps-anywhere-is-a-game-changer/
  41. 41. Use cases/customer stories
  42. 42. Intelligent Automation Robotic Process Automation (RPA) An RPA tool can learn to automate a task by watching the user perform that task in a graphical user interface (GUI), and then perform the automation by repeating those tasks directly in the GUI. Playback TaskRecord the Task Automate the Task
  43. 43. UI Flows Connector for RPA UI Power Automate Connector
  44. 44. UI Flows Records User Actions of Legacy Apps Launch the recorder Record your click-steps Build your flow
  45. 45. https://www.youtube.com/watch?v=5745NylUSX8
  46. 46. Visual Designer – Trigger and actions Open the designer Add trigger and actions Trigger the process
  47. 47. Ingest data With Logic Apps you can automate a scheduled process of retrieving data and storing in a database (SQL or NoSQL) using a graphical interface (GUI) – Visual Designer. Function A Convert Epoch to DateTime Ingest Pull Push Pull Push Store in Collection
  48. 48. Ingest data With Durable Functions you can automate a scheduled process of retrieving data and storing in a database using a Integrated Development Environment – Visual Studio or Visual Code. Orchestrator Client Orchestration Function Convertto TimeStamp Store In Database GetRates
  49. 49. DEMO
  50. 50. https://www.microsoft.com/en-us/microsoft-365/customer-stories/fujifilm-manufacturing-azure-ai-functions-japan
  51. 51. Monitoring, Reporting & Governance
  52. 52. Admin insights provide deep visibility into usage and performance of applications Users Locations Capacity Analytics track health and implementation metrics and help keep users on track Service performance Error reporting App usage Personalize insights and drive action with custom Power BI reports and Microsoft Power Automate All up view of what’s being created Discover your champions Trigger automatedactions Power Platform Admin Center
  53. 53. Azure Monitor, Advisor, Cost Management Admin insights provide deep visibility into usage and performance of services Service performance Service Usage Error reporting Platform health and implementation metrics Availability Security OperationalExcellence Insights using consumption Analyzecosts Budgetalerts Optimize underutilizedresources
  54. 54. Power Automate, Azure Logic Apps, and Azure Functions
  55. 55. Azure Resource Manager Azure Portal PowerShell Visual Studio Other Connector Azure Functions An Ecosystem of Unparalleled Capabilities Power Automate, Logic Apps,Functions
  56. 56. Power Automate and Azure Functions Create Your Azure Function Add Your Function to Your Power Automate
  57. 57. Power Automate and Logic Apps Leverage your Power Automate to design a B2B connector Extend your flows to solutions deployed on Azure Export flows to Visual Studio
  58. 58. Azure Functions and Logic Apps Create Your Azure Function Consume your Function in the Logic App
  59. 59. What do the analysts say?
  60. 60. August 2019 A Leader in Enterprise Low-Code Application Platforms* *Gartner “Magic Quadrant for Enterprise Low-Code Application Platforms,” by Paul Vincent, Kimihiko Iijima, Mark Driver, Jason Wong, Yefim Natis, 08 August 2019 The above graphics were published by Gartner, Inc. as part of a larger research document and should be evaluated in the context of the entire document. The Gartner document is available upon request from Microsoft. Gartner does not endorse any vendor, product or service depicted in its research publications, and does not advise technology users to select only those vendors with the highest ratings or other designation. Gartner research publications consist of the opinions of Gartner's research organization and should not be construed as statements of fact. Gartner disclaims all warranties, expressed or implied, with respect to this research, including any warranties of merchantability or fitness for a particular purpose. GARTNER is a registered trademark and service mark of Gartner, Inc. and/or its affiliates in the U.S. and internationally and is used herein with permission. All rights reserved.
  61. 61. © Microsoft Corporation Dynamics 365 We are thrilled to announce that Forrester has recognized Microsoft as a leader in low-code development platforms in the 2019 Forrester Wave for Low-Code Development Platforms for Application Development and Delivery (AD&D) Professionals. Learn more: https://reprints.forrester.com/#/assets/2/108/RES144387/reports Forrester names Microsoft a leader in low-code development platforms, Q1 2019
  62. 62. August 2020 A Leader in Enterprise Integration Application Platform as a Service* *Gartner “Magic Quadrant for Enterprise Integration Platform as a Service,” by Eric Thoo, Bindi Bhullar, Massimo Pezzini, Keith Guttridge Abhishek Singh Shaheem Pillai 21 September 2020 The above graphics were published by Gartner, Inc. as part of a larger research document and should be evaluated in the context of the entire document. The Gartner document is available upon request from Microsoft. Gartner does not endorse any vendor, product or service depicted in its research publications, and does not advise technology users to select only those vendors with the highest ratings or other designation. Gartner research publications consist of the opinions of Gartner's research organization and should not be construed as statements of fact. Gartner disclaims all warranties, expressed or implied, with respect to this research, including any warranties of merchantability or fitness for a particular purpose. GARTNER is a registered trademark and service mark of Gartner, Inc. and/or its affiliates in the U.S. and internationally and is used herein with permission. All rights reserved.
  63. 63. Key Takeaways Power Automate, Logic Apps and Azure (Durable) Functions are NOT competing technologies Choose technology based on your use- case or scenario’s Mature leading technologies Moderate learning curve
  64. 64. Onboarding for ‘Citizen’ Developers
  65. 65. Power Automate Power Automate Product Roadmap Microsoft Power Automate Community Follow all the latest Power Automate news on the Power Automate Blog Power Automate Tutorial YouTube Channel Monday & Tuesday Video Series on YouTube
  66. 66. Logic Apps Logic App Service Roadmap Logic Apps Feedback Follow all the latest Logic App on the Logic Apps Blog Logic Apps Tutorials YouTube Channel Integration User Group Content
  67. 67. Durable Functions Azure Functions Community Follow all the latest Azure Functions news on the Azure Functions Blog Azure Functions YouTube Channel Azure Functions GitHub Azure Functions User Group Content
  68. 68. Thank you
  69. 69. @SteefJan https://github.com/steefjan Steef-Jan.Wiggers@codit.eu

×