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 / Send Approval based on...
Power Automate
Suggested Answer

Send Approval based on multiple criteria

(0) ShareShare
ReportReport
Posted on by 2
Hello! I am in need of some help. I learned how to create flows but I am no expert by any means. I have a very detailed Flow that is set up like this - When a response is submitted from Microsoft Forms, it pulls user information from O365 and check to see which company and Cost Center the user is with. Then it creates a Sharepoint list item. Depending on which company and cost center the user is with, I need it to send an email to a specific contact. The issue I am having is that I have 5 companies, and each company has multiple different cost centers and each of those have different contacts. Example: Company #1 has 22 Cost Centers, Company #2 has 15 Cost Centers etc. I tried using "Switch" but it doesn't allow me to enter all of the cost centers since there are a total of 53 different ones. I know my Flow is long and detailed, but this is the only way I could get it to work IF I only had 5 cost centers. Again, I am no expert. Can someone assist me in figuring out how I can do this?
Flow part 3.jpg
Flow part 2.jpg
Flow part 1.jpg
Categories:
I have the same question (0)
  • Suggested answer
    David_MA Profile Picture
    13,431 Super User 2025 Season 2 on at
    Unfortunately, the screen shots you uploaded are not very helpful since they don't show how any of the actions are configured. Therefore, the best thing that I can suggest is to create a SharePoint list that contains the names of your companies, cost centers, and the approvers. 
     
    You can then use a Get items action with a filter query on the company and cost center values to return the approver names.
     
    Another option, which is the method I use, is to use the SharePoint list with this data as a lookup field in the original list. However, this would require either a third-party tool that allows you to modify the list form or the use Power Apps to customize the form. Fortunately, I have access to a third-party tool called Nintex Forms, which makes it much easier than with Power Apps. But if you ever worked with SharePoint 2013 and InfoPath Forms in SharePoint, you'll know what I am referring to.
     
    This is how it works with Nintex for a scenario just like you have. The Legal Entity field corresponds to your company value, and the functional area value corresponds to cost center. The user first chooses the legal entity (company), and that value filters the functional area choices (cost center) to just those for the selected company. Once the functional area is selected, it stores the ID of the selected row from the external list (Delegations of Authority) so I can use a Get item action with the ID stored in the request.
     
     

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 378 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 273 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 135 Most Valuable Professional

Last 30 days Overall leaderboard