POWER AUTOMATE DESKTOP - DATABASE Pre-Requisites Power Automate Desktop Access to database Under the database action, we have only three sub actions, namely: Open SQL connection Execute SQL statement Close SQL connection Open SQL Connection The first step is to connect to the database. So, we will use the Open SQL connection action and provide a connection string to establish the connection (the connection string in the video is a sample). When the connection is successful, the connection details is stored in a variable during execution. Execute SQL statement This action can be used to execute SQL queries. Here, I am using select query and the result is stored in a variable of type datatable. Close SQL connection It is a best practice to always close the database connection once the required queries are executed. YAY! BONUS!😮 How to execute a stored procedure using database action? Stored Procedure without arguments Stored Procedure with arguments (Comma separated in...
POWER AUTOMATE DESKTOP - INPUT & OUTPUT VARIABLES
An input variable is used to send values into the desktop flow.
An output variable is used to send back values from where the desktop flow was triggered.
Learn how to use these.
Pre-Requisite
- Power Automate Desktop should be installed in your PC.
- An account must be available in Power Platform.
Step 1: Create a new flow.
Step 2: Add actions you wish to add.
Step 3: Create Input Variables and Use the Input Variables in the actions.
Step 4: Create an output variable and assigned the result to output variable.
Step 5: Calling this desktop flow in another desktop flow.
Step 6: Calling this desktop flow from Cloud flow and seeing how to utilize this variables.
Test Cloud Flow:
Please leave a comment if you have any queries.
Comments
Post a Comment