2 min read

Power Automate UI Flows August 2020 update

We are excited to announce that the UI flows August 2020 update is now available! We have made several updates to the UI flows functionality and here are the key updates we have made in this monthly release.

  • Cancel UI flow runs that are in progress

UI Flows runs can now be cancelled when the parent Flow run is cancelled. This will allow you stop the run of a UI Flow if it’s stuck or if there are any issues with the preceding actions or conditions in the parent Flow.

Go to the specific Flow run you want to cancel and click on the Cancel button. If the UI Flow was running, it will get cancelled. This might take some time as there is logic that needs to be run to ensure that your session on the target machine is closed in a clean way. You can also use the Resubmit button on this page to re-run flows that did not succeed, including flows with UI flows.

Screenshot of the Flow Runs page for a flow calling a UI flow with a Cancel button in the top action bar.

  • Add and edit Image Recognition actions that are part of a Remote Desktop or Citrix recording

Add and edit Image Recognition actions: Create a recording of a remote desktop. You can now open the details of a step after recording and edit the click location of the image recognition action, or click “Add an action” within a scope to manually add new actions to the scope. When adding an image recognition action, you’ll need to upload a .JPG screenshot and define the click coordinates for the action that will be used during playback.

  • Native support for recording actions and data from SAP

Native support for recording actions and data from SAP: UI flows can now leverage SAPGUI scripting capabilities to automate SAP applications. Ensure you have SAP client 7.40 or higher installed on your machine. You also need to enable SAP client scripting. You can do so by clicking on SAP GUI Options and navigating to Accessibility & Scripting –> Scripting. Then under User Settings, check Enable scripting and uncheck all other sub-options.

Once SAPGUI scripting is enabled, simply launch the UI flow recorder, and record the steps you want to automate with SAP by performing keyboard inputs and mouse clicks on SAPGUI. If your UI flow script contains SAP actions, you will see two additional actions, SetProperty and CallMethod, added to your UI flow recording.

  • Do Until feature to have more control over how UI flows execute.

In UI flows, users can add a Do Until action to configure repeating action(s). The feature requires a control condition that governs running the loops and configuration to define the maximum number of loops and runtime. Users can either click Add an action or drag and drop another action to add it into the Do Until loop.

Do Until action in UI Flows

We you hope you enjoy these updates! Please let us know your feedback and questions in  the Power Automate Community. If you’re new to UI flows, check out the below resources to help you get started: