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 III
Super User III

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
Memorable Member
Memorable Member

Hi @romankorchak1, could you show 

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

 

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (2,820)