How to use HTML code in Flow Designer 'Send Email' action

Shivam Saxena1
Mega Expert

Hello,

 

I am facing issue while using HTML code in Flow Designer 'Send Email' action.

The requirement is I want Case Number to be visible on the email body which is going to the customer but once the customer click on the number he will be redirected to the case.

 

Can someone please help me how can I achieve this functionality in flow designer?

 

Thanks.

3 REPLIES 3

Linda S
ServiceNow Employee
ServiceNow Employee

Shivam,

 

  Review this post and see if it is helpful.  It is easier to manage all email in the Notifications module and you have more control.  In this link you will find a suggestion to use the flow to generate and event that would then trigger an email.  Let me know if this helps!

 

Linda

Hi Linda,

 

I was trying directly from Flow Designer if ServiceNow provided any capability to write HTML codes in flow.

 

Anyway, the link you shared creating an event in Event table. So every time it will create new record. Can't we create a record in event registry and call it from Flow Designer?

 

Thanks.

Shivam Saxena1
Mega Expert

@Deepen Shah 

Hello,

 

I am able to create the link now by using HTML code.

 

<a style="display: inline;" contenteditable="false" href="csm?id=csm_ticket&amp;table=sn_customerservice_case&amp;sys_id=&lt;span class=" data-pillvalue="{{fd_transform:5ca558e8-2030-40b8-b764-25478f801ae8}}"><span class="data_pill  accepts_transform_functions" contenteditable="false" data-pillvalue="{{fd_transform:5ca558e8-2030-40b8-b764-25478f801ae8}}">Trigger➛Case Record➛Number<button id="transform_function_facade_5ca558e8-2030-40b8-b764-25478f801ae8" class="transform_function_facade no_transform_applied"><span class="inline-script-icon"><span style="display: none;">​</span></span></button></span></a></p>

 

But the issue is I am getting wrong value in sys_id. When I am clicking on it it is not redirecting to the case. Can you please help here?

 

 

Thanks.