cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Jean_9681
Helper I
Helper I

Yes/No choice field shows True/False

Hello Everyone,

I have a flow that moves files from one library to another with all the metadata. There is a choice column with YES or NO values
Once the flow moves the file from source to destination the metadata for this choice column shows as True or False instead of yes or no

 

Any suggestions on how to fix this without changing the column type.

 

Thanks for your time & help.

1 ACCEPTED SOLUTION

Accepted Solutions
mahoneypat
Solution Sage
Solution Sage

You should be able to work with true/false like you would with Yes/No; however, you can create a Yes/No column with a Select step to keep the columns you want from the SharePoint list and change the true/false values to Yes/No with this expression.  Replace 'YesNo' with your column name.

 

if(equals(item()?['YesNo'], true), 'Yes''No')

 

mahoneypat_0-1617150800996.png

 

Pat

 

 

View solution in original post

2 REPLIES 2
mahoneypat
Solution Sage
Solution Sage

You should be able to work with true/false like you would with Yes/No; however, you can create a Yes/No column with a Select step to keep the columns you want from the SharePoint list and change the true/false values to Yes/No with this expression.  Replace 'YesNo' with your column name.

 

if(equals(item()?['YesNo'], true), 'Yes''No')

 

mahoneypat_0-1617150800996.png

 

Pat

 

 

View solution in original post

Thank you @mahoneypat  this worked.

Helpful resources

Announcements
MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

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

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (90,325)