cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
romankorchak1
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?

Thanks  

2 REPLIES 2
CFernandes
Super User
Super User

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!

VictorIvanidze
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

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

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

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Kudoed Authors
Users online (4,840)