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...
TEXT FUNCTIONS
PRE-REQUISITE
- Login to Power Automate
- Create a manually triggered instant cloud flow
BUILD A FLOW TO USE TEXT FUNCTIONS
Step 1: First, I will create a String variable called "varString" and give it a text value.
Step 2: Search "Text Functions" and select "Find Text Position". We can use this to find the position of a character or string within another string.
From dynamic content, select the variable we created in previous step and provide a text to search.
Step 3: Search "Text Functions" and select "Substring". This can be used to extract a substring from another string.
From dynamic content, select the string variable that was created before, give a position from where the string has to be extracted and you may or may not give the length of the text that has to be extracted.
TEST
Here's the result of using "Find text position" and "Substring" Text Functions.
Please leave a comment if you have any questions.
Comments
Post a Comment