cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Whitakc91
Frequent Visitor

Need help on a flow that keeps improperly looping

I have a use case where I need to review a SP list for items that are missing attachments on a scheduled basis. I've built my flow to execute 1X week > Get Items from SP list > Initialize varBody > Set varBody> Apply my condition > If Yes > Create Item.

 

This flow executes but the output (email) has multiple varBody messages in the created item. Please see below for more information.

 

Step 1Step 1Step 2Step 2Step 3Step 3

2 REPLIES 2
fchopo
Super User
Super User

Hi @Whitakc91 

Could you specify what you want to achieve? Do you want to send a single email for each varBody? Or a single email for each recipient with all items?

Regards,

Ferran

Did I answer your question? Please consider to mark my post as a solution to help others.
Proud to be a Flownaut!

Hey there,


I might be going about this the wrong way but my goal is to send a single email with the varBody that is unique to that list item. I.e. if the attachment condition is met for item 1 then send an email to the recipients (person/group column) of item 1 with the varBody associated with item 1. Then loop through the rest of the list until/if it finds another item that meets the attachment condition and repeat the email/outcome.

 

Thank you!

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Users online (1,615)