Skip to main content

Notifications

Community site session details

Community site session details

Session Id : PcJ7M8vdpaCnneZc7DJOtK
Power Automate - Building Flows
Answered

Fetch Yes/No from checkbox field instead of true/false

Like (0) ShareShare
ReportReport
Posted on 15 Mar 2022 03:40:04 by Microsoft Employee

Hello folks,

 

I am currently stuck in some minute issue and i know the long way out but was figuring if there was anything else.

I have this checkbox on entity which gets me the value yes/no(as i checked in view), but if i fetch the same attribute in flow, it is giving me true/false. I was wondering if i could convert that into true false. 

 

I tried using if => if(equals(@item()?['dcse_managergracecase'],true),'Yes','No'), but it is throwing me expression invalid. I have tried various combinations still cannot use the if. also i cannot use an variable to store the data as i am fetching multiple data and iterating over it, so i will have to store the data inside the table itself.

Ez_Wiz_0-1647315502855.png

 

The approach that i am thinking is to save the data in some other entity in text format and then use that instead of the original attributes. If there is some solution please let me know

 

Thanks

  • Kavish vaidya Profile Picture
    Microsoft Employee on 16 Mar 2022 at 04:31:40
    Re: Fetch Yes/No from checkbox field instead of true/false

    This feels such a dumb thing to ask. thanks a lot 

  • Verified answer
    tom_riha Profile Picture
    10,093 Most Valuable Professional on 15 Mar 2022 at 19:10:03
    Re: Fetch Yes/No from checkbox field instead of true/false

    Hello @Ez_Wiz ,

    try to remove the @ from the expression, that should work:

    if(equals(item()?['dcse_managergracecase'],true),'Yes','No')

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Automate - Building Flows

#1
David_MA Profile Picture

David_MA 292 Super User 2025 Season 1

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 247 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 212

Overall leaderboard
Loading started