web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Struggling to fetch ch...
Power Automate
Answered

Struggling to fetch choice field labels from dataverse in flows

(0) ShareShare
ReportReport
Posted on by 18

Hi everybody!

I'm struggling to fetch the label(text) of a choice field in my flow. Check the screenshots below for more details:

 

GriffinMaree_0-1699591894381.png

I'm trying to get the "Quarter Day" text (Length Label) instead of the number. The field name should be "_cr1e2_length_label" right?
So, I wrote the following Odata expression: outputs('When a row is added, modified or deleted')?['body/_cr1e2_length_label']

 

When I place this expression in a initialize variable step and try to save, power automate gives me the following error...

 

GriffinMaree_1-1699592165595.png

 

"Flow save failed with code 'InvalidTemplate' and message 'The template validation failed: 'The action(s) 'When a row is added, modified or deleted' referenced by 'inputs' in action 'Initialize_variable' are not defined in the template"


Anybody got any ideas what's going on?

Categories:
  • Verified answer
    Manish Solanki Profile Picture
    15,169 Moderator on at

    Hi @Griffin-Maree 

     

    You need to write an expression to get the label of single choice field. Expression needs to be entered in the expression window as shown below in the below example:

    ManishSolanki_0-1699595095896.png

     

    The expression which you need to use in your flow is:

    triggerOutputs()?['body/_cr1e2_length_label']

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

    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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 425

#2
11manish Profile Picture

11manish 323 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard