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 / condition choice value...
Power Automate
Answered

condition choice value comparison not working

(0) ShareShare
ReportReport
Posted on by 19

I have a transport list to keep track "CheckedIn" "CheckedOut" of transport.

Every 6pm the flow will be triggered  and if any of the transport with a Choice Option of "CheckedOut" in the list, flow will be triggered to send an email to users.
However in Flow the result always returns False.

Here is the setup of the flow:

Before the condition check steps, i used Recurrence and Get Item.

xianng88_0-1691460862770.png

1) Previously i used "Checked Out" with a space, changed to "CheckedOut" still not working.

2) I have used "Transport Status Value" for dynamic content as per advised. Not working.
3) I have used string('CheckedOut') in the right column as well and it is not working.

 

I'm out of ideas.

Categories:
I have the same question (0)
  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @xianng88 ,

     

    It could be a capitalization issue or have extra spaces.

    vxiaochenmsft_0-1691462781204.png

     

    Best Regards,

    Wearsky

  • xianng88 Profile Picture
    19 on at

    Got this error:

    xianng88_0-1691464076752.png

    Is this correct?
    replace(toLower(items('Apply_to_each')?['Test/Value']),' ','')  <<< for left

    concat('CheckedOut') <<< for right

     

    btw, the column name is  "Transport Status", choices are "Checked In", "Checked Out".

     

  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @xianng88 ,

     

    'Test' is my choice column name.

    Please use your column name instead.

     

    Best Regards,

    Wearsky

  • xianng88 Profile Picture
    19 on at

    Same error:
    replace(toLower(items('Apply_to_each')?['Transport Status/Value']),' ','')

  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @xianng88 ,

     

    There is none space in actual name.

    vxiaochenmsft_0-1691465002446.png

     

    vxiaochenmsft_1-1691465034257.png

     

    Best Regards,

    Wearsky

  • xianng88 Profile Picture
    19 on at

    xianng88_0-1691465315253.pngxianng88_1-1691465340614.png

    xianng88_2-1691465388610.png

     

    same error 😵

     

  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @xianng88 ,

     

    What's the actual name of the column? Please use the dynamic content and move the cursor over the parameter. 

  • xianng88 Profile Picture
    19 on at

    Dynamic Content here:

    xianng88_2-1691465865478.png

    I change 

    replace(toLower(items('Apply_to_each')?['Transport Status/Value']),' ','')

    to 

    replace(toLower(items('Apply_to_each')?['Status/Value']),' ','')

    and still get the error but it ran

    xianng88_1-1691465828267.png

     

    In the composed steps, all the input results are "Checked In", but I have 1 row with "Checked Out" value.

     

  • xianng88 Profile Picture
    19 on at

    Any workaround on my case?

  • Verified answer
    xianng88 Profile Picture
    19 on at

    Found out the issue is not with the Value Return but with the "Get Items" limit threshold of 100 items.
    Solve it by expanding this limit.
    How to change Microsoft Flow’s default limit of 100 items for “Get Items” and “Get Rows” actions – NateChamberlain.com

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
Haque Profile Picture

Haque 58

#2
David_MA Profile Picture

David_MA 53 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 36 Most Valuable Professional

Last 30 days Overall leaderboard