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 / Stuck with checkbox to...
Power Automate
Answered

Stuck with checkbox to yes/no instead true/false

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

 

My flow with PowerApps, SP is almost done. The layout in Outlook is awesome except i need to change checkbox from true/false. When i check the flow, is this the column:

 

@{triggerBody()?['Testcolumn']}. I tried the combination but till know, nothing works. When i copy my examples, Flow doenst see the TestColumn, who sees my fault?

if(equals{(triggerBody()?['testcolumn']},True),'Yes','No')
if(equals@(triggerBody()?['testcolumn'],True),'Yes','No')
if@(equals@(triggerBody()?['testcolumn'],True),'Yes','No')
if(@equals@(triggerBody()?['testcolumn'],True),'Yes','No')

Categories:
I have the same question (0)
  • Verified answer
    efialttes Profile Picture
    14,756 on at

    @Anonymous 

     

    The easyest way to add an expression in Flow is by means ofthe option Dynamic Content available in almost all Action blocks. If you add it this way you don't need neither {} characters nor the @ character

    Flow_add_expressions.png

     

    What's the format of triggerBody()?['testcolumn']? is it a string or a boolean?

    Do you want to convert it to a string 'Yes' / 'No'?

     

    In my opinion, the easiest way to inspect the content of triggerBody()?['testcolumn'] is to add it as Dynamic Content in a Compose action block, run again the Flow, and inspect the results

    Assuming you want to convert triggerBody()?['testcolumn'] to a 'Yes' / 'No' string, please also note:

    -if triggerBody()?['testcolumn'] is type boolean (True / False) you can represent it by different means, one of then is by means of the expressions: bool(1) / bool(0). So... if(equals(triggerBody()?['testcolumn'],bool(1)),'Yes','No')

    -if triggerBody()?['testcolumn'] is type string, you need to use ' character. So... if(equals(triggerBody()?['testcolumn'],'True'),'Yes','No')

     

    Hope this helps

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi! 

     

    That looks nice. I used the checkbox column in the Send to outlook connector. After this i saw the output was true or false instead yes/no. I will try your solution, 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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 873

#2
Valantis Profile Picture

Valantis 813

#3
Haque Profile Picture

Haque 526

Last 30 days Overall leaderboard