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 / I try to compare a cho...
Power Automate
Answered

I try to compare a choice field with an text value

(1) ShareShare
ReportReport
Posted on by 261

Hello

 

I have a choice field what I like to compare with an value. I don't want to use a textfield column.

The choices are Approved, Rejected and Canceled and the field name ist Status 😉

 

I tried different ways and I always get no result:

 

(1) I used the following formula:  @equals(triggerBody()?['Status']?['Value'], 'APPROVED')   ===> NOT WORKING

     But it shows the coorrect VALUE 😉

(2) I used SELECT AND JOIN but in Join I get as result:  {"Status":"CANCELED"}   ===> NOT WORKING

 

Interesting on point (2) was that I needed to set the field in brackets [FIELDNAME] not to get the error:

"The 'from' property value in the 'select' action inputs is of type 'Object'. The value must be an array."

But still not working !!!

Later on I used the following: https://www.youtube.com/watch?v=OXEcLqDvCrc

So I can say, it always NOT working.

 

If sombody has an idea its most apprechiated 😉

Thanks in advance.

Cheers

 

Michael

Categories:
I have the same question (0)
  • ANB Profile Picture
    7,250 Super User 2026 Season 1 on at

    Hi @MD2024 Try this:

    @equals(triggerBody()?['Status/Value'], 'APPROVED') 

    -----------------------------------------------------------------------------------------------------------------------------

    I hope this helps.

    Please click Accept as solution ✅ if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs up.👍

    Thanks,
    ANB


  • Verified answer
    MD2024 Profile Picture
    261 on at

    Thanks, I used items('Apply_to_each')?['Status']?['Value'] and it is working, but 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 251 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 239

#3
Expiscornovus Profile Picture

Expiscornovus 220 Most Valuable Professional

Last 30 days Overall leaderboard