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 Apps / How to set a Dataverse...
Power Apps
Unanswered

How to set a Dataverse optionset field in Power Automate

(0) ShareShare
ReportReport
Posted on by 87

Hi I'm struggling to set a Dataverse option set field dynamical in Power Automate. it seems like a simple task but  i cant find the correct syntax

example 

if( x > y, 'Option 1', 'Option 2')

 

Thanks Esox

I have the same question (0)
  • Drew Poggemann Profile Picture
    9,287 Most Valuable Professional on at

    Hi @Esox76 ,

     

    You need to set the "Value" vs. the "Text" for the option set.  String Maps contains these values and if you want to make it dynamic, check out the following article:  https://www.d365geek.co.uk/single-post/updating-dataverse-optionset-choice-from-text-dynamically-using-power-automate 

     

    Hope this helps.  Please accept if answers your question or Like if helps in any way.


    Thanks,


    Drew

  • CU-18081211-6 Profile Picture
    9,270 Moderator on at

    @Esox76 ,

    Well, actually is a two actions process.

    First of all you need to get the options from Data Verse choice options. For this you have to use a Invoke a HTTP request action:

    gabibalaban_1-1635506515591.png

    Identify your dynamics domain ... The simplest way is to go to powerapps admin center -> open the environment and copy the first part of the address (something like https:\\...dynamics.com\)

    and the internal name of your ChoiceOption ...  go to make.powerapps.com ->DataVerse -> ChoiceOptions and get the name value (not display name).

     

    Then to create a choice value inside a create Data Verse row action:

    /InternalNameofTablePluralName(ID)

    - where ID will be taken from the first action based on your needs.

     

     

  • Esox76 Profile Picture
    87 on at

    @gabibalaban 

     

    Im using a dataverse connector Add new row action so your solution is not valid

  • CU-18081211-6 Profile Picture
    9,270 Moderator on at

    @Esox76 ,

     

    Create DataVerse action from my post = your DataVerse add new row …

    it is important to get the idea of how you can create an item in Datverse that has a choice type column in it using power automate.

  • rehanmemon Profile Picture
    on at

    Facing the same issue

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 774 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 335 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 248

Last 30 days Overall leaderboard