Book Image

Democratizing RPA with Power Automate Desktop

By : Peter Krause
Book Image

Democratizing RPA with Power Automate Desktop

By: Peter Krause

Overview of this book

Whether you want to organize simple files or perform more complex consolidations between different Office programs and remote-control applications that don't allow outside access, Power Automate Desktop helps meet these challenges. This book shows you how to leverage this workflow automation platform by explaining the underlying RPA concepts in a step-by-step way. You’ll start with simple flows that can be easily recorded and further processed using the built-in recorder. Later, you’ll learn how to use the more advanced actions to automate folder and file management and enable Office programs to interact with each other. You’ll also get to grips with integrating desktop flows into other cloud environments and further enhance their value using AI. As you progress, you’ll understand how flows can run unattended and how they are managed in the Power Platform, as well as key concepts such as creating, modifying, debugging, and error-handling UI flows. Finally, the book will guide you to use Process Automation Designer (PAD) in conjunction with your frequently used desktop systems to automate routine tasks. By the end of this book, you’ll have become a Power Automate Desktop expert, automating both professional and personal tasks.
Table of Contents (15 chapters)

Working with subflows

Within each flow, we can also create subflows. This is a concept to structure a larger UI flow into different pieces, which in turn can then be called and referenced in the main flow:

Figure 3.8 – Deconstructing a flow

Figure 3.8 – Deconstructing a flow

The main flow containing the overall logic of a task then becomes much more readable and easier to understand. All variables are available in the main flow and can be changed, no passing parameters must be specified. It is even possible to call different subflow from within a subflow if you want to structure the work even further. The following figure shows the main flow from our previous example and two subflows:

Figure 3.9 – Main flow and subflows

Figure 3.9 – Main flow and subflows

A subflow is stored within the flow itself and can only be used in the containing flow. If you look at the Actions pane, you can also see that there is a Run flow actions group with a Run desktop flow action in it. This additional...