cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ciprianpopovici
Helper II
Helper II

Change the text value of checkbox in email

Hello,

I have a simple flow that send an email every time a item is created in Sharepoint. In  the received email i have the text for the checkbox ,true or false depending if it's checked or not. I want to display in email another text instead of true/false for that checkbox , let's say if the checkbox it true, text "equal", if it's not check "notequal".

 

How can i do that in flow?

Thank you

1 ACCEPTED SOLUTION

Accepted Solutions

@ciprianpopovici ,

Remove the Inseriere from your HTML and with the help of add dynamic content -> expressions add the following formula (you might need to adjust it)

If(equals(triggerbody()?[‘Inseriere’],true),

’the value if it is true’,

’the value if it is false’)

Hope it helps !

Spor la treaba ….😊

View solution in original post

4 REPLIES 4
gabibalaban
Super User
Super User

@ciprianpopovici ,

Please  share the Send an email action to a better understanding of the request ...

hello,

i attached the flow action , and the result in email. I want that in the email i receive , instead of true/false to show a text ...for ex equal/notequal

 

In the email the fields are arranged in an html table, that is the code...

 

 

ciprianpopovici_0-1638447147704.png

ciprianpopovici_1-1638447459184.png

 

@ciprianpopovici ,

Remove the Inseriere from your HTML and with the help of add dynamic content -> expressions add the following formula (you might need to adjust it)

If(equals(triggerbody()?[‘Inseriere’],true),

’the value if it is true’,

’the value if it is false’)

Hope it helps !

Spor la treaba ….😊

View solution in original post

Thank you.  Merge 🙂

I adjust the formula like this:

 

If(equals(triggerOutputs()?['body/Inseriere'],true),'DA','NU')

Helpful resources

Announcements
Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Top Solution Authors
Top Kudoed Authors
Users online (1,457)