Goal of my flow: Daily process - Copy data from one file to another and then send emails to people listed in the excel file. New file is provided daily.
Current Issue: Flow gets stuck on condition (at Step 6 listed below) where I want the flow to only send emails to rows with data (not blank rows).
1. Set a variable for later use: "CurrentRow" set to integer 2.
2. Take new excel file and convert raw data into table.
3. List rows in table
4. Copy data to excel template with 'Update a row' action (this uses the "CurrentRow" variable)
5. List rows of new template table
6. For each row that is not blank, send an email to the EmailAddress field.
I must make my initial table much larger than needed so it will capture the daily list I get of people to email (list is always less than 50 so my table is set to go to row 100 to be safe). The flow seems to get stuck with the extra empty rows.
How do I get my flow to send emails to only rows with data?
You don't need the condition, you have to options:
In either case your resulting array will not contain any blanks, so you will be able to proceed to your each loop without the need for a condition.
Thanks for the reply and I like the sound of option 2 (oData query). I tried to use SKUID ne null but it tells me "Expression "SKUID ne null" is not supported."
Do you know what my oData query would need to be?
Using SKUID ne ' ' got me passed the step but in the next part of the process, it got stuck trying to use the result. This was the resulting error:
This is the apply to each 4 in edit mode:
Do you know why it's now stuck and how to get around this?
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Read the latest about new experiences and capabilities in the Power Automate product blog.
If you are a small business ISV/Reseller, share your thoughts with our research team.
The AI Builder team invite you to ask questions and provide helpful answers at our next AMA.