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 / One Flow to update 4-6...
Power Automate
Unanswered

One Flow to update 4-6 Sharepoint Lists depending on the Trigger.

(0) ShareShare
ReportReport
Posted on by 10

Hello all.

 

I have 6 SPLists, all of them have the same columns just data from different offices.  Right now I am doing a Get Items for all 6 lists and duplicating all of the functions that are needed for the list when called on by the Trigger.

 

Ex. Trigger =List1. > Condition If Trigger is  "List 1" run all the commands in that row, if Trigger is "List 2", run all the commands in that row but on SPLists 2.

 

How can I set it so I can just have 1 column of commands and have the list switch according to the Trigger? Right now as my locations keep growing I will have to recreate a new column of commands for each location, which could grow to 15-20 locations/ SPLists/Columns of commands.

 

Any thoughts?

Categories:
I have the same question (0)
  • wskinnermctc Profile Picture
    6,519 Moderator on at

    How are you getting the trigger to work on separate sharepoint lists?

     

    Can you show a screenshot of what you have to help give a better idea of the current design of the flow.

  • localadminbcs Profile Picture
    10 on at

    Right now, the trigger is a manual input.  

    User enters "List1" or "List 2" or "List"3 or etc...

    Condtion; IF Trigger = "List 1", then do all the actions in column 1

    Condtion; IF Trigger = "List 12", then do all the actions in column 2

    etc

    All of the actions in each column are the same, just done on different SP Lists.

    I dont want to have to re-create another 8, 10, 15 columns do to the exact same thing on different SPLists.

     

     

  • wskinnermctc Profile Picture
    6,519 Moderator on at

    I think what you are trying to achieve can be done by using a HTTP request. You will need to have the Site Address and the List Title.

    Use the Site Address and List Title in the HTTP Request to return the list id. You can then use the id in something like Get Items.

     

    This is a basic example of how it works. Since I don't know anything else about your flow, I'm showing this to give you an idea of how it starts.

     

    Variable Basic Overview.pngVariable Basic Part 1.pngVariable Basic Part 2.png

     

    Does this approach seem like something you could do?

  • localadminbcs Profile Picture
    10 on at

    Awesome approach! I am going to build it today and let you know how it goes. Great work, thank you so much. I will update you all on this,

  • localadminbcs Profile Picture
    10 on at

    Awesome!! I created this as you explained and it does do exactly what I needed. Thank you for the guidance!

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard