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 / Populating word templa...
Power Automate
Unanswered

Populating word template with flow - Option Set showing value not label

(0) ShareShare
ReportReport
Posted on by

Hello, 

 

I am populating a word template from data within Dynamics crm via MS Flow. I have a optionset field which is bringing through the 'Value of the option set :(Ownershipcode) but I want to bring through the _ownershipcode_label 

 

Can someone please advise on the steps I should take please? (Fairly New to flow)

 

Thank you in advance

 

how.PNGvalue I want.PNG

Categories:
I have the same question (0)
  • MJain Profile Picture
    2,450 on at

    Hi @Anonymous ,

     

    You are already getting the value as per your screenshot. What is it missing here ?

     

    Thanks

  • Community Power Platform Member Profile Picture
    on at

    The word template is showing the number string (ownership code) rather than the value (ownershipcod_label)… 
    its a option set field .

     

  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @Anonymous 

     

    Are you getting the values from a Get Item action step. If it is then use the below expression

     

    item()?['_ownershipcode_label']

     

    Label names don't appear as dynamic selection. You need to copy the above expression and paste under the expression text box.

     

    Please see below

     

    image.png

     

    Thanks

  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @Anonymous 

     

    If the below suggestion doesn't work then try the below expression. Suppose your previous step Get method where it retrieve the record details is called 'Get_record' then use the outputs('Get_record') and reference the field name.

     

    outputs('Get_record')?['body/_ownershipcode_label']

     

    Thanks

  • Tsingh1 Profile Picture
    5 on at

    Thank you - the get records function worked with a tweak 🙂

     

    Thanks again !

  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @Anonymous 

     

    Thanks for the update. If your problem has solved, please go ahead and mark the post as solved by clicking “Accept as Solution” so that this thread will be marked for other users to easily identify!

     

    Thanks

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard