cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
RMD211
Resolver III
Resolver III

Convert true value to Yes using variables

Hello!

 

Hoping someone can help me with a formula - I want to convert a trigger value that returns a true or false to a Yes or No instead using variables (reason for this is I can't use true as my Switch input!)

 

This is where I'm at - at the set variable I want to do something like this:

 

if(variables('ExternalSharing') equals true,"Yes", "No")
 
I know the context part at the equals and true are wrong but tried a lot of variations and can't get it to work!
 
Any help greatly appreciated!

 

RMD211_0-1652880800385.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
RMD211
Resolver III
Resolver III

Solved it eventually!

 

if(equals(triggerBody()['text_3'],'true'),'Yes''No')

View solution in original post

1 REPLY 1
RMD211
Resolver III
Resolver III

Solved it eventually!

 

if(equals(triggerBody()['text_3'],'true'),'Yes''No')

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!

Users online (5,452)