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
 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Top Kudoed Authors
Users online (1,591)