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

Too many Approvals with Switch on Choice Value

I have a Security Request form that has a Choice for what connections are needed.  I am using a Switch based on the Value of the choice.  I am sending approvals based on those switches.  My issue is, I have 7 choices and any number of the choices can be selected.  Choice 1 goes to Data Owner 1, Choice 2 goes to Data Owner 2, Choice 3-7 go to Data Owner 3.  

 

By choosing the Choice Value as my Switch Value, I get a Apply to Each Container, which is good for Choice 1 and 2, but for Choice 3-7, I am getting 5 approvals, and would like just 1.  

 

I have set up a String Variable to gather all the Choices together.ChoiceChoiceVariableVariable

1 ACCEPTED SOLUTION

Accepted Solutions
v-litu-msft
Community Support
Community Support

Hi @sobenson,

 

You could create a separate action to send approval for options 3-7.

Delete the Default part:Screenshot 2020-10-16 104943.jpg

 

Then initialize an array variable, append all choices into it. Adding a condition action under it to check the array if contains "Choice 3" to "Choice 7", if it contains create an approval:

Screenshot 2020-10-16 110718.jpg

 

Screenshot 2020-10-16 110736.jpg

 

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

 

View solution in original post

2 REPLIES 2
v-litu-msft
Community Support
Community Support

Hi @sobenson,

 

You could create a separate action to send approval for options 3-7.

Delete the Default part:Screenshot 2020-10-16 104943.jpg

 

Then initialize an array variable, append all choices into it. Adding a condition action under it to check the array if contains "Choice 3" to "Choice 7", if it contains create an approval:

Screenshot 2020-10-16 110718.jpg

 

Screenshot 2020-10-16 110736.jpg

 

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

 

View solution in original post

@v-litu-msft Thank you so much! That worked perfectly!

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (2,226)