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 & MICROSOFT DATAVERSE - 2
PRE-REQUISITES
- Login to Power Automate
- Create a manually triggered flow
- In this post, I will be using the data that is available in the Accounts table
LIST ROWS WITH FILTER QUERY
From the Accounts table, fetch the Logical name of the column to be filtered.
Use the logical name in Cloud Flow while listing the rows and test it.
(There is only 1 entry for the City Kochi)
LIST ROWS WITH SORT
Get the logical name of the column to be sorted.
Use desc for descending order and asc for ascending order.
Sorted by State and Tested:
LIST ROWS WITH ROW COUNT
Number of rows to be fetched from dataverse can be mentioned.
However, 5000 is the default number of rows that can be fetched. It can be increased to a maximum of 1,00,000 rows under Settings > Pagination > Increase Threshold.
Thank you for visiting! Please leave a comment for queries.
Comments
Post a Comment