cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
patricia_r
Helper I
Helper I

Choice column in dataverse is showing up as a number

Hello,

 

I hope i can get an answer to this issue i am having. I am using power automate to send a notification when a record gets created on Dataverse and i would like to display the choice the user selects in my case the status value. Yet when i add the dynamic content it shows up a number type. Does any one know why this happens? and how to go fix it or go around it? 

 

patricia_r_0-1623943519714.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
Expiscornovus
Super User II
Super User II

Hi @patricia_r,

 

You only need to add a leading underscore character in that expression. The rest looks ok.

 

The format should be something like this:

_crca4_customchoicefieldname_label

 

So, in your case that would be:

triggerOutputs()?['body/_crbd6_trackingoptions_label']

 

View solution in original post

4 REPLIES 4
Expiscornovus
Super User II
Super User II

Hi @patricia_r,


That is the unique id of the option in that choice list. If you want to use the label you could for instance use this expression:

triggerOutputs()?['body/_statecode_label']

 

choiceoptionlabel.png

 

For the status reason field that would be:

triggerOutputs()?['body/_statuscode_label']

@Expiscornovus Thank you for your reply that did work but lets say that i create my own custom choice column in dataverse and shows up as a number. I tried the same approach when i add the expression to the compose i get a blank. 

patricia_r_0-1624028414056.png

 

Expiscornovus
Super User II
Super User II

Hi @patricia_r,

 

You only need to add a leading underscore character in that expression. The rest looks ok.

 

The format should be something like this:

_crca4_customchoicefieldname_label

 

So, in your case that would be:

triggerOutputs()?['body/_crbd6_trackingoptions_label']

 

View solution in original post

@Expiscornovus Thank you that worked

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Carousel April Dunnam Updated 768x460.jpg

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Users online (2,858)