web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Changing true to Yes, ...
Power Automate
Unanswered

Changing true to Yes, false to No in Flow

(0) ShareShare
ReportReport
Posted on by 69

Hi, I have a flow (see image) which pulls data from SharePoint Online site. On the SharePoint site, the toggle value is "Yes" or "No" but somehow on Flow it converts those values to "true" and "false" when I copy the data to onto a Word doc.  Values below contains either "Yes" or "No":

                             Flow                                                                        Word Screenshot

values.png                          values2.png

Is there a way to convert the values back to "Yes" and "No" instead of true and false?

Also, can I change the font size and color of these values?

 

To give you more idea of how what I'm doing:

1) I created a PowerApps Form for users to enter data and toggle "Yes" or "No" questions

2) SharePoint Online stores these datas

3) Flow takes these datas and insert it into a Document Library on SharePoint 

4) On Document Library, there's a Word template that uses Quick Parts to display these data and that's where it shows "true" and "false" instead of Yes and No

 

Any help is much appreciated!

 

Categories:
I have the same question (0)
  • Verified answer
    PieterVeenstra Profile Picture
    13 on at

    Hi @EdwardC,

     

    this isn't really a flow issue. If you have a document library with yes/no fields and add these Quick Parts to a document you will see true false in your document. If you want Yes/No then you coudl go for a choice field with Yes and No instead.

     

  • EdwardC Profile Picture
    69 on at

    Hi Pieter,

     

    It is a Yes and No field. However, after being pushed from Flow to Word doc using quick parts, it ended up as true/false.

     

    Anyways, I found a workaround this. Thanks tho.

  • GrischkePro Profile Picture
    287 on at

    I found a workaround too, so I, unlike others :P, should share (SharePoint list):

     

    if(equals(triggerBody()?['InternalColumnName'],True),'Yes','No')
  • Community Power Platform Member Profile Picture
    on at

    Hello,

     

    Where would this formula go?

  • GrischkePro Profile Picture
    287 on at

    For example, it can go into an email body to display Yes or No instead of True or False. Or it can go to HTML file, which you can then convert to PDF and so on.

  • Community Power Platform Member Profile Picture
    on at

    Hi @GrischkePro 

     

    I used your solution but flow doesnt show the column, can you see what i did wrong?

    The name of the internal yes/no checkbox is 'testcolumn'

     

    @{triggerBody()?['testcolumn']}
    if(equals{(triggerBody()?['testcolumn']},True),'Yes','No')
    if(equals@(triggerBody()?['testcolumn'],True),'Yes','No')
    if@(equals@(triggerBody()?['testcolumn'],True),'Yes','No')
    if(@equals@(triggerBody()?['testcolumn'],True),'Yes','No')

    Only the first one works but in the mail i see true/false, i need to show Yes/No.

    Regards

  • lras120265 Profile Picture
    on at

    Hi @Pieter_Veenstra ,

     

    I know your answer was a couple of years ago. I had the same issue and your suggestion solved the problem! Thank you so much!

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard