Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - General Discussion
Answered

ID of a choice appearing instead of the question in Approval Email

(0) ShareShare
ReportReport
Posted on by 29

I am writing a flow where the approver will get an email to approve/reject. In the details, I want to provide information what the user filled. However, they are in choices and when I take the dynamic expression, the approver see's the choice ID instead of the actual name of the choice. For example, for the Faculty column, the user will see Faculty: 921090002 instead of Faculty: Arts in the email. How do I fix this in the flow?

  • smital Profile Picture
    29 on at
    Re: ID of a choice appearing instead of the question in Approval Email

    Yes I checked it. Your solution worked! For my case, I just needed to initialize a variable so I can add it to the details. It now works:

     

    smital_0-1696931677208.png

    Thanks for your help!

  • SudeepGhatakNZ Profile Picture
    14,381 Most Valuable Professional on at
    Re: ID of a choice appearing instead of the question in Approval Email

    Are you able to investigate the JSON for the Law request?

     

  • smital Profile Picture
    29 on at
    Re: ID of a choice appearing instead of the question in Approval Email

    Thanks for the solution. I did manage to see the code like you showed: 

    smital_0-1696907601902.png

     

    Issue is when I do the second part (apply to each and compose with the item expression), it just gives me "Engineering" as the output. That I think is because in the list rows code, "Engineering" is the value there. 

     

    smital_1-1696907888428.png

     

    In the test I did, it was a "Law" request. In the body of the email, I put the faculty dynamic content (you can ignore the title - I did not put it there):

    Screenshot 2023-10-10 112942.png

     

    As you can see, the value is there - not the faculty name. I tried doing the same process but by initializing a variable and then putting the same item expression as the value. It did not work. Is there any way to get the faculty name as a variable?


    Thanks for your help.

  • Verified answer
    SudeepGhatakNZ Profile Picture
    14,381 Most Valuable Professional on at
    Re: ID of a choice appearing instead of the question in Approval Email

    This is by design. Dataverse returns the value of the Choice field. To display the text, inspect the output of List rows

    SudeepGhatakNZ_0-1696849750787.png

     

    Find the fields that displays the Text and Value

     

    SudeepGhatakNZ_1-1696849863691.png

     

    You can extract the Value by specifying the tag name

     

    SudeepGhatakNZ_2-1696850019410.png

     

    SudeepGhatakNZ_3-1696850086878.png

     

  • smital Profile Picture
    29 on at
    Re: ID of a choice appearing instead of the question in Approval Email

    Sure, here are the choices for my column:

    smital_0-1696823793666.png

     

    When I try putting this into the flow, I want the text column to appear. In the details, I add the Faculty column in the dynamic content:

    smital_1-1696823973503.png

    I have tried initializing the Faculty variable into string but as expected, it is just taking the ID value and converting it from a number into a string (but it is still the ID, not the text).

     

  • SudeepGhatakNZ Profile Picture
    14,381 Most Valuable Professional on at
    Re: ID of a choice appearing instead of the question in Approval Email

    Please share a screenshot of the action where you have used the Choice column from Dynamic content.

     

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1