cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
New Member

Issue with Choice items on a list

Hello All, 

 

I am currently using a Power Automate Flow with a Sharepoint. I have a choice list so that people can pick more than one Liability if they are request more then one day off. When I receive a approval email the Liability party has extra wording that shows code that I dont need to see (example 1st picture below). All I want to see is the part circled ilist 4.PNG


list 3.PNG

 

 

list.PNG

 list 2.PNG

 

1 ACCEPTED SOLUTION

Accepted Solutions
Super User II
Super User II

Hi @eanastasio2,

 

In your approval action you are using the whole array. This is why you also seeing the other fields like datatype and id. You can just use the value from the Liablility field by using the Liability Value field instead. 

 

However, because your Liability choice can have multiple answers I would use the following approach.

 

1. Add an Initialize variable of type string

initializevariable_liability.png

2. Add an apply to each and add the Libability field to that as an output. 

liability_applytoeach.png

3. Add an Append to string variable within the loop. Use the Liability Value for the value field.

approval_variable.png

 

View solution in original post

2 REPLIES 2
Super User II
Super User II

Hi @eanastasio2,

 

In your approval action you are using the whole array. This is why you also seeing the other fields like datatype and id. You can just use the value from the Liablility field by using the Liability Value field instead. 

 

However, because your Liability choice can have multiple answers I would use the following approach.

 

1. Add an Initialize variable of type string

initializevariable_liability.png

2. Add an apply to each and add the Libability field to that as an output. 

liability_applytoeach.png

3. Add an Append to string variable within the loop. Use the Liability Value for the value field.

approval_variable.png

 

View solution in original post

New Member

@Expiscornovus  Thank you so much for your help!

Helpful resources

Announcements
New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (45,704)