Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Process Mining
Unanswered

Convert boolean to Yes or No

(0) ShareShare
ReportReport
Posted on by 40

Hi All 

I am building the flow that takes item from SharePoint list and then needs to convert few Boolean values to Yes or No (to send an email). I am trying to create String variable with following formula:

if(equals(outputs('Leaver')?['body/QsDeviceReturned'],true),"Yes", "No") 
but it keeps erroring.

Can anybody advise what I am doing wrong, or what would be the better way to do it?

Thanks  

Categories:
  • VictorIvanidze Profile Picture
    12,355 on at
    Re: Convert boolean to Yes or No

    Hi @romankorchak1, could you show 

    outputs('Leaver')?['body'] ?

     

  • CFernandes Profile Picture
    8,295 Most Valuable Professional on at
    Re: Convert boolean to Yes or No

    Hey Mate @romankorchak1 ,

     

    Can you check the artilce - https://grischke.pro/2019/01/06/convert-boolean-true-or-false-to-yes-or-no-in-microsoft-flow/ 

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. 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

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 - Process Mining

Overall leaderboard