cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
CameronTCD
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
Brad_Groux
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
Brad_Groux
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

v-bacao-msft
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
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (63,954)