cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
eanastasio2
Regular Visitor

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
Expiscornovus
Super User
Super User

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

 



Happy to help out! 🙂

Interested in more #PowerAutomate #SharePointOnline or #PowerVirtualAgents content?
Visit my blog, Subscribe to my YouTube channel or Follow me on Twitter


View solution in original post

2 REPLIES 2
Expiscornovus
Super User
Super User

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

 



Happy to help out! 🙂

Interested in more #PowerAutomate #SharePointOnline or #PowerVirtualAgents content?
Visit my blog, Subscribe to my YouTube channel or Follow me on Twitter


eanastasio2
Regular Visitor

@Expiscornovus  Thank you so much for your help!

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (1,646)