web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Power Automate Schedul...
Power Automate
Unanswered

Power Automate Scheduled Flow to run on multiple lists in different subsites

(0) ShareShare
ReportReport
Posted on by 25

I have a requirement of running a scheduled flow every month for multiple lists in 6 different subsides (2 lists in each subsite).
I have to check multiple date fields is they are bank or not.

If any of the date fields are blank then send email to the created By with blank date fields mentioned in notification.

 

This notification needs to be sent for all the items with blank date fields in the Lists in different subsite.

Any direction to create the flow will be highly appreciated.

 

I am trying o build the flow as the attached screen shot please helpmultilist flow.jpg

 

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @kk13 

     

    Believe all the sites have same columns then only your filter query will work. What you could do is declare an array which contains the sites and list names. Iterate the array and do the following as dynamic variables.

     

    image.png

     

    So for the above in your case replace the Dynamic mappings from the array which contains the site name and lists. You may need two arrays. One for the sites and other for lists. If you using single array collection then you need to declare the sitenames and list names as (sitename - listname). Later when you iterate each item split the item using split() expression to get the name and list so that you can pass this as dynamic values to Get Items. 

  • Verified answer
    kk13 Profile Picture
    25 on at

    Thanks a lot for the suggestion. I figured it out.

     

    Yes all List column names are same

    Please refer the attachment for details of the flow.

     

    Note: List name is “DISPLAY” name.
    And Filter query takes “DEFAULT” name of the columns for checking conditions

     

    I didn’t used array but used Data Operator-Compose for having the default text for the url of sites (we can use full url in Get items by pasting it as well its upto you)

    Condition to check if any of the Date fields is blanks in Filter query section of Get Items:
    (DateField1 eq null) or (DateField2  eq null)

     

    After that I used apply to each for running the same action for all retrieved List items

    (Idea from this answer)Then Get Item and identified the ID of the retrieved item using this formulae:  item()?['ID']

     

    I get all the items ID to retrieves the metadata (all column values) to send it in my notification email.

     

    That’s it.

    It looked like very complex flow but proved to be quite straight forward Thanks for your suggestion abm

     

    Flow Screen Shot MultiList with date field.png

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 523 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard