Email Client/Quick Messages

keimo
Tera Contributor

Hello Community,

I created a Service Catalog Item for announcements that auto-populates the variable values into the Quick Message templates. The purpose is to make it easier for our Service Desk to send out announcements from the Catalog Task assign to them.

Everything is working as expected, however there's one observation I had a question on. When a user submits a request, we would like to insert line breaks into the Quick Message HTML body. In the below example, we would like each server to have it's own line instead of being wrapped. Is there any way to accomplish this? I'm thinking a Business Rule may work, but any guidance would be appreciate.

Service Catalog Variable:

find_real_file.png

Quick Message Template:

find_real_file.png

7 REPLIES 7

Brad Tilton
ServiceNow Employee
ServiceNow Employee

How are you pulling the variables in? I would insert the line breaks at whatever point you're doing that.

Pratiksha Kalam
Kilo Sage

Hello,

As you are taking this values from variable is it contain HTML code? 

If yes then you can make changes over there. or try to modify message in email client.

 

Thanks,
pratiksha

keimo
Tera Contributor

Hi Brad/Pratiksha

I'm pulling in the values by using ${variables.variable_name} on the Quick Message templates.

 

Hello,

You are directly accessing variable in quick message or you have email script for that,

then that are available in quick message.

If you have email script then Try to add in mail script<br>

https://community.servicenow.com/community?id=community_question&sys_id=17088e26dbd2e7809540e15b8a96...

https://community.servicenow.com/community?id=community_question&sys_id=0fbd876ddb9cdbc01dcaf3231f96...

 

Thanks,

Pratiksha