Showing results for 
Search instead for 
Did you mean: 
Helper I
Helper I

Convert boolean to Yes or No

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?


Super User
Super User

Hey Mate @romankorchak1 ,


Can you check the artilce - 


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!

Community Champion
Community Champion

Hi @romankorchak1, could you show 

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


Contact me if you are interested in custom Power Automate development.

Helpful resources

Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (5,100)