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 / Extract value from str...
Power Automate
Unanswered

Extract value from string from Choice field

(1) ShareShare
ReportReport
Posted on by 33

Hi everyone, I have a problem. When Flow is triggered it sends data to e-mail, but with all data from 'employee' and 'mistake' column of Microsoft List table. I need only "value" part of data to be displayed in outlook e-mail. I use :

 

1.Initialise variable(String)

2.Set variable(employee and mistake value)

3. Add variables to "Name des Sachbearbeiters" and "Beschreibung" fields

 

variable.png

As you can see, "Zusätzliche Information " field was displayed normally(it's text based column), other 2 that I need are Choice based columns.

So, how can I extract this "Value"? Thank you!

Categories:
I have the same question (0)
  • trice602 Profile Picture
    15,404 Super User 2025 Season 2 on at

    Hi @MomirG ,

     

    To use choice values, you need to use parse json action to get access to the values as dynamic content. Here's an example of parse json.

     

    trice602_0-1701789382646.png

     

     

    Essentially you will take the output from the choice column output in get items (use the json output) and then click on use sample payload to generate schema link.  Paste in your json and create your schema. Then, downstream, you can use the values you want.

     

     

  • MomirG Profile Picture
    33 on at

    Unfortunately the problem is not solved. It still sends all the data:

     

    problem.png

    also I have noticed that JSON is somehow diferrent than usual (output from "When item has been created" in Sharepoint):

    MomirG_0-1701857781638.png

    I need extract this:

    values from fehler.png

     

    and when I want to add dynmaic property, I don't see the "value" from "Fehler Beschreibung":

    MomirG_1-1701857926555.png

    It could be because it's an array for multiple choice column-> I don#t know how to extract all the values ..

  • MomirG Profile Picture
    33 on at

    I have managed to extracted "Value", but I still can't display all of the values.. I can select only the last one, how can I select all of them and collect data in one variable

    only the second is selectedt.png

  • trice602 Profile Picture
    15,404 Super User 2025 Season 2 on at

    Hi @MomirG ,

     

    I will have to circle back and look for a multiple-choice question sample.  Tom

     

     

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…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard