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 / Get OptionSet value in...
Power Automate
Unanswered

Get OptionSet value in different language

(0) ShareShare
ReportReport
Posted on by 43

Within a flow I want to get the label text from an OptionSet.

I've found following ressource which describes how to use the CDS connector to get the text: https://linnzawwin.blogspot.com/2020/07/get-lookup-display-name-and-option-set.html

 

I get the label always in English language - even though I changed settings to German - see this hint https://powerusers.microsoft.com/t5/Using-Flows/How-to-change-language/td-p/755573.

 

Any idea how to get the label from an OptionSet in a different language using CDS connector?

Categories:
I have the same question (0)
  • VIDIT Profile Picture
    666 on at

    Hi @MTrummer you can try this instead this is how I do it 

    I have an Option set with values as below 

    ViditGholam_0-1617812831420.png

    Now Check my flow and see the magic 

    so what I did here is I created a json of the option set values and the corresponding label as as shown in the below flow 

    ViditGholam_1-1617813010317.png

    Step - 1 Create json as below with your values and labels

    ViditGholam_4-1617813276255.png

    Step -2 Create a string variable and set its value to your option set value from dynamic contents.

    Step - 3 Use the below expressions in the place where you want the label value to appear

    ViditGholam_5-1617813387779.png

     

    Output - 

    ViditGholam_2-1617813194057.png

    ViditGholam_3-1617813217814.png

    Hope that helps ! 

    Let me know incase any issues.

    If this resolves your issue please mark this post as answered and hit me a thumps up.

    Thanks and Regards,

     Vidit

     

  • MTR_RuF Profile Picture
    43 on at

    Thank you for this idea.

    I understand your approach - but that means I'd need to maintain the labels in two places (D365 CRM and Power Automate). As I do have a lot of OptionSets this is not really an option and error prone in worst case.

     

    I can't believe that this is supposed by Microsoft to be done this way.

    And the requirement does not seem to be very special - does it?

  • VIDIT Profile Picture
    666 on at

    Yeah @MTrummer I do agree to what you said.

  • Verified answer
    Expiscornovus Profile Picture
    33,189 Most Valuable Professional on at

    Hi @MTrummer,

     

    Are you using the Translation feature of Dynamics? If not, you could translate the options set labels for those other languages as a workaround. This is a short YouTube video about that process:

    How to Add Translations for Custom Fields and Entities in CRM 2013

     

    When the translations are imported and published you should be able to choose that other language also for the account used for the flow connections.

    Be aware, everything for that account will be translated into German.

     

    personalizationsettings.png

     

    The custom options set labels should now also be presented in the different language for that specific user (in this case German).

    translations.png

     

    When you retrieve the data within a Power Automate flow with that same user account it should also retrieve the German labels.

    germanflowaccount.png

  • MTR_RuF Profile Picture
    43 on at

    Thank you - that does the trick!

    For whatever reason that did not come to my mind at all.

     

    (still it seems to me more robust if I could set the language within my flow itself)

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

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard