I want to colour that dynamic values green for one mail and red for another mail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2024 12:02 AM
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 ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2024 12:08 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2024 12:17 AM
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.