System Group Of Actions In With Desktop Flow Using Microsoft Power Automate

Microsoft Power Automate is software by Microsoft for automation of recurring tasks. It is part of the Microsoft Power Platform line of products together with products such as Power Apps and Power BI. More Details here.

Desktop flows are the existing robotic process automation (RPA) capabilities in Power Automate and enable to automate all repetitive desktop processes.

The System group of actions has been segregated into some new categories. Perform a variety of tasks in a Windows environment and retrieve information from the system, Ping action, If process action, Run application action, Terminate process action etc.

Reading this article, you can learn how to perform a variety of tasks in System group of actions like Perform a variety of tasks in a Windows environment and retrieve information from the system, Ping action, If process action, Run application action, Terminate process action in Desktop flow using Microsoft Power Automate.

The following important tools are required for developing Microsoft Power Automate,

  1. Windows 10/11 (Recommended)
  2. Power Automate Desktop - Download the Power Automate installer

Now we can discuss step-by-step App development.

Step 1

Open Microsoft Power Automate -> New Flow

Next, Give the Flow name as PADSystem, Click the Create button,

After that, we are able to see the Desktop flow,

Step 2

For Testing Ping action in System group of actions,

First, Add the Ping action, Set the Host Name Parameter as 127.0.0.1, Timeout Parameter as 5000 and Variable Produced Parameter as PingResult and Click Save Button

For Displaying Result, Add the Display message action and Set the Message box Title Parameter as Ping Status, Message to display Parameter as %PingResult% Click Save Button

For Testing Run Application action in System group of actions,

First, Add the Run Application action, Set the Application path Parameter as cmd, Command line arguments Parameter as C:\Windows\system32 and Variable Produced Parameter as AppProcessId and Click Save Button

For Displaying Result, Add the Display message action and Set the Message box Title Parameter as Application Status, Message to display Parameter as cmd Application is Running. The process Id is %AppProcessId% and Click Save Button

For Testing If process, Terminate process action in System group of actions,

First, Add the If process action, Set the If process Parameter as Is running, Process name  Parameter as cmd and Click Save Button

Next, Add the Terminate process action, Set the Specify process by Parameter as Process name, Process name  Parameter as cmd and Click Save Button

For Displaying Result, Add the Display message action and Set the Message box Title Parameter as Termination Status, Message to display Parameter as cmd Application is Terminated. and Click Save Button

Now, Save the PADSystem Desktop Flow,

Step 3

Now we can run your PADSystem Desktop Flow in Microsoft Power Automate, The output of the PADSystem is,

Summary

Now you have successfully tested System group of actions – Ping, If process, Run application, Terminate process in Desktop flow - PADSystem in Microsoft Power Automate. 


Similar Articles