I want to colour that dynamic values green for one mail and red for another mail

kiran kumar m1
Tera Contributor

I have a flow in which I am doing lookup on a table and fetching few fields based on that lookup I am sending two mails in the flow and I am picking the values from data bill picker dynamically , I want to colour that dynamic values green for one mail and red for another mail. I tried changing the css but the css is not getting saved in the flow ?

how can we achieve this ?

2 REPLIES 2

Satishkumar B
Giga Sage
Giga Sage

Hi @kiran kumar m1 
refer this:

 

 

<!-- Email Body Template -->
<p>Value 1: <span style="color: green;">{{data.value1}}</span></p>
<p>Value 2: <span style="color: red;">{{data.value2}}</span></p>

 

 

……………………………………………………………………………………………………

Please Mark it helpful 👍and Accept Solution✔️!! If this helps you to understand. 

Yashsvi
Kilo Sage

Hi @kiran kumar m1,

Try this:

<p>Hello,</p>
<p>The value is: <span style="color:green;">${dynamic_value}</span></p>
<p>The value is: <span style="color:red;">${dynamic_value}</span></p>
<p>Regards,<br/>Your Team</p>

please check below link as well:

https://www.servicenow.com/community/developer-forum/dynamic-field-color-help/m-p/1615779

Thank you, please make helpful if you accept the solution.