cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper II
Helper II

Flow that takes data from multiple SharePoint lists

I have created a Flow that will take the count of lines in a SharePoint list and email it to me on a timed basis.

 

I now look to get this same output from multiple lists.

 

For example if one list has 1 row, another has 2 and another has 3... The output email will state that there are 6 rows.

 

Below is my current Flow.

 

Ket3fEk.png

 

Thanks in advance. 

1 ACCEPTED SOLUTION

Accepted Solutions
Super User II
Super User II

Just add parallel branches to your Flow for each list you need to do this to. Click the + between steps (red box), and select Add Parallel Branch:  

Example of parallel branches:FormsCreateTaskParallelBucket.PNG

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

3 REPLIES 3
Super User II
Super User II

Just add parallel branches to your Flow for each list you need to do this to. Click the + between steps (red box), and select Add Parallel Branch:  

Example of parallel branches:FormsCreateTaskParallelBucket.PNG

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

Community Support
Community Support

Hi @CameronTCD ,

 

You could try to use variables to store multiple outputs.

Multiple results are added to the variable using an order such as Get items-Filter array-Increment variable.

For example, the results of the two list filters are added to a variable.

Expression reference:

length(body('Filter_array_from_ListA'))
length(body('Filter_array_from_ListB'))

Image reference:

15.PNG16.PNG

 

Please take a try.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

If instead of a number you actually wanted the filtered contents form list a included in the body of the mail how would one do that. 

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Top Solution Authors
Top Kudoed Authors
Users online (2,308)