cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
thejdofva
Level: Powered On

Add choice field with multiple values allowed in approval

All Experts

I need to add a choice filed (with multi values allowed) in an approval but my flow fails. Is there a special way to add this kind of field?

 

TIA

3 ACCEPTED SOLUTIONS

Accepted Solutions
Super User
Super User

Re: Add choice field with multiple values allowed in approval

@thejdofva :

 

One solution to your issue is to loop through each value selected for your choice column an append them to a string variable.  While you can't tell from my screen shot, I put one or two spaces after the option column value when adding it to the variable.  Then, reference the variable in your approval action rather than the column.

 

MultiChoice.jpg

 

If this addresses your issue, please mark your post as Solved.

If you like my solution, please give it a Thumbs Up.

 

Scott

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

thejdofva
Level: Powered On

Re: Add choice field with multiple values allowed in approval

Thank you for the response. When try the solution and I have selected three values in the choice column, it sends approval notification for each choice separately and at the end, it sends one for all the choices. 

View solution in original post

Super User
Super User

Re: Add choice field with multiple values allowed in approval

@thejdofva 

Your issue is that your send email is inside of your loop.  Move the email action outside of the loop and reference the variable in the email body.

 

Scott

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

7 REPLIES 7
Super User
Super User

Re: Add choice field with multiple values allowed in approval

@thejdofva :

 

Can you please provide some additional detail on what you are trying to accomplish.  If you could post a screen shot of your Flow, that would be helpful as well.

 

Scott

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott
thejdofva
Level: Powered On

Re: Add choice field with multiple values allowed in approval

test.jpg

test2.jpg

 

This is the filed where a user can select multiple values. I need to have all the choices in this field show in the approval notification.

Highlighted
thejdofva
Level: Powered On

Re: Add choice field with multiple values allowed in approval

test.jpg

test2.jpg

 

This is the filed where a user can select multiple values. I need to have all the choices in this field show in the approval notification.

Super User
Super User

Re: Add choice field with multiple values allowed in approval

@thejdofva :

 

One solution to your issue is to loop through each value selected for your choice column an append them to a string variable.  While you can't tell from my screen shot, I put one or two spaces after the option column value when adding it to the variable.  Then, reference the variable in your approval action rather than the column.

 

MultiChoice.jpg

 

If this addresses your issue, please mark your post as Solved.

If you like my solution, please give it a Thumbs Up.

 

Scott

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

thejdofva
Level: Powered On

Re: Add choice field with multiple values allowed in approval

Thank you for the response. When try the solution and I have selected three values in the choice column, it sends approval notification for each choice separately and at the end, it sends one for all the choices. 

View solution in original post

Super User
Super User

Re: Add choice field with multiple values allowed in approval

@thejdofva 

Your issue is that your send email is inside of your loop.  Move the email action outside of the loop and reference the variable in the email body.

 

Scott

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

thejdofva
Level: Powered On

Re: Add choice field with multiple values allowed in approval

Scott

Thank you for your guidance. Works well now. 

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Speakers, submit your sessions now! Call for speakers ends Feb. 10!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (3,318)