Hi.
I am trying to create a flow that will send an email with a list IF the list is not empyt.
i manage to create the CSV file, save the file in a location, and send an email. but the problem is that it sends the email even when there is no line items.
I tried When i manage to get something working the problem is that either it adds an "Apply each" so it works for when the list is empty, but then when there are multiple entries it sends 1 email per line on the list?
any thoughts please?
thank you
Solved! Go to Solution.
Hi there. For your condition, after your Get Items action, you can either use the expression checking to see if empty(<Get Items Output>) = true, OR use length(<Get Items Output>) = 0
Either of those should work. (Replace <Get Items Output> with the actual dynamic value for that step.
Keep us posted.
-Ed
If you liked this reply, please give it a thumbs up! If this reply has answered your question or resolved your challenge, please consider marking it as a Solution. This helps other users find it more easily via search.
Hi there. For your condition, after your Get Items action, you can either use the expression checking to see if empty(<Get Items Output>) = true, OR use length(<Get Items Output>) = 0
Either of those should work. (Replace <Get Items Output> with the actual dynamic value for that step.
Keep us posted.
-Ed
If you liked this reply, please give it a thumbs up! If this reply has answered your question or resolved your challenge, please consider marking it as a Solution. This helps other users find it more easily via search.
Thank you Very much!!! it worked 🙂
User | Count |
---|---|
6 | |
5 | |
5 | |
3 | |
2 |
User | Count |
---|---|
10 | |
9 | |
7 | |
7 | |
4 |