• Skip to main content
  • Skip to primary sidebar
  • Skip to footer
  • Home
  • Blog
  • Power Platform
    • Power Apps
    • Power Automate
    • Power BI
    • Power Virtual Agents
  • Dynamics 365
  • Azure
  • About Me
Joe Gill Logo

Joe Gill

Microsoft MVP - Power Platform Consultant

Home » Power Platform » RPA – Power Automate UI Flows

RPA – Power Automate UI Flows

14th April 2020 by Joe Gill

Microsoft support for RPA in the form of Power Automate UI Flows has recently been released. Here I have done a brief post to demonstrate how easy it easy to create and deploy a UI Flow. Before I explain the process involved I’m going briefly introduce what RPA and Power Automate UI Flows are all about.

What is Robotic Process Automation (RPA)?

Robotic Process Automation (RPA)  is when the mouse clicks and keystrokes carried out by a user to complete a task are replicated by a software process. It is typically used to perform time-consuming tasks on legacy platforms where integration is not possible or expensive. RPA tools help organisations accelerate their digital transformation projects without having to replace legacy systems or develop expensive integration solutions.

What is Power Automate UI Flow?

Power Automate UI Flows supports the automation of both windows applications and web applications and uses different frameworks for both. However, in both cases the steps to create an UI Flow are the same.

Creating Power Automate UI Flows

Step 1: UI Flows Setup

To create a UI Flow you record the steps you want the flow to execute, substituting in parameters instead of typing values. You can also capture text from the application and return this from your flow. Before you can create a UI Flow you need to download the tools required to record and test UI Flows. You will be prompted to download the tools the first time you create an attempt to create a UI Flow.

RPA - Power Automate UI Flows Joe Gill Dynamics 365 Consultant

Step 2: Create a UI Flow

Power Automate UI Flows supports the automation of both windows applications and web applications and uses different frameworks for both. The Web UI Flows utilizes Selenium, a long-established open-source testing framework, to record and run the automated tasks. The first step in creating a new UI Flow is to select which type of application you are automating. For this example, I have selected a Desktop App as I want to automate the process of adding a ledger credit to my accounts system.

RPA - Power Automate UI Flows Joe Gill Dynamics 365 Consultant

Step 3: Define Input Parameters

Before you can records your steps you need define the input parameters you want to pass to your Flow to use for data entry.

RPA - Power Automate UI Flows Joe Gill Dynamics 365 Consultant

Step 4: Record Steps With Launch Recorder

The next step is to record your steps by clicking the Launch Recorder option.When you want to use an input parameters as data entry value select the Use Input option and select the parameter and then click on the data entry field you want populated.

RPA - Power Automate UI Flows Joe Gill Dynamics 365 Consultant

Step 5: Define Output

Typically once you have completed the task you will need to grab some some information from the task you have completed and return it to the flow. You do this by select the Get Output option and highlighting the text you want to return in your parameters giving it a name.

RPA - Power Automate UI Flows Joe Gill Dynamics 365 Consultant

Step 6: Test UI Flow Is Completing Your RPA Tasks

Once you finish recording your steps they are saved with your Flow. You can use the test option to check if your UI Flow is completing your RPA tasks. I found I needed to enable coordinate-based playback for my UI Flows to work. This can be turned on from the advanced settings on the first step. More details about coordinate-based playback here.

RPA - Power Automate UI Flows Joe Gill Dynamics 365 Consultant

Step 7: Editing Recorded Steps

You can edit your recorded steps and add manual actions as required.

RPA - Power Automate UI Flows Joe Gill Dynamics 365 Consultant

Step 8: Creating Another Flow To Call It

UI Flows are not deployed directly and they must be called by another Flow by using the Action “Run a UI Flow”. So you will need to create another Flow to call it and in my example I created a http request Flow that accepted the three input parameters in a Json message and passed them to the UI Flow.

RPA - Power Automate UI Flows Joe Gill Dynamics 365 Consultant

Step 9: Configure Connection To Your Flow

Although Power Automotive Flows get triggered in the cloud UI Flows run locally and therefore need an on-premise data gateway installed on the computer where they are to run. A data gateway acts as a connector between cloud services and an on premise services. I did a previous post on the data gateway here. You need to configure the connection in your flow to connect to that machine specifying the Gateway name and the username and password.

RPA - Power Automate UI Flows Joe Gill Dynamics 365 Consultant

It is really easy to automate manuals task using Power Automate UI Flows and the RPA capabilities are pretty impressive. I am looking forward to trying some other scenarios. The capabilities of the Power Platform are continuously improving and being extended. The addition of UI Flows to the Power Platform offers great potential to digitize integration with legacy systems.

Share This On Social:
  • Tweet
  • RPA - Power Automate UI Flows Joe Gill Dynamics 365 Consultant

Filed Under: Power Automate, Power Platform

Primary Sidebar

Popular Categories

  • Power Platform
    • Power Apps
    • Power Automate
    • Power Virtual Agents
  • Azure
    • Logic Apps
  • Dynamics 365
  • .NET
  • AI
  • SQL

More to See

Power Platform Requests – Base Request Capacity

17th December 2020 By Joe Gill

Power Automate Desktop

Power Automate Desktop – UI Flow

26th November 2020 By Joe Gill

Tweets

Footer

Joe Gill

Microsoft Business Applications MVP – Power Platform, Dynamics 365 and Azure.

An architect with over twenty years experience designing and developing technology solutions. Specializing in the Microsoft technology stack including Power Platform, Dynamics 365 and Azure. Microsoft MVP Profile

Connect on Social

Useful Links

  • Home
  • Blog
  • About Joe Gill
  • Power Platform
  • Dynamics 365
  • Azure

Featured Posts

Power Platform Requests – Base Request Capacity

Power Automate Desktop – UI Flow

MB-600 – Solution Architect – Supportability

AI Builder – Form Processing Layouts

© 2021 · Joe Gill