Is there any way to process an email script in meeting invitation email template?

Aanchal Mehndi1
Giga Contributor

Is there any way to process an email script in meeting invitation email template? As per the service now, email script is not allowed in meeting invitation email template.

I have done calendar integration for change_task. So, i used an email template to send an invite but I also want to send a one hyperlink for which we have written mail script under body of the message in other notifications. But for calendar invitations, how should i send that hyperlink????Email_template.PNGmail_script.PNG

11 REPLIES 11

Hi,



Please see below link


https://community.servicenow.com/thread/179977



May be this would help



On Tue, Jun 30, 2015 at 8:49 PM, Aanchal Mehndiratta <


I was able to send out the meeting invitation. But i want to send an hyperlink for which i have written an email script.


That is not working. It is just copying the content. Please find screenshot.I need to send this Hyperlink in the meeting invitation email itself. But mail script is not working.


mail_script.PNG


Mike Moody
Kilo Guru

Hi Aanchal,



If you're not allowed to use an email script inside of the meeting invitation template, as an alternative you could try to intercept the outbound email message via a Business Rule on the sys_email table adding your additional message content to the message body before the email is processed and sent.



I hope that helps to give you a workaround.



Regards,



Mike


Or if you really want to slum it like I did, just do a URI_REF, or hardcode a majority of the URL and have the message throw the sys_id for the specific record in itself, and then just cross your fingers that the mail platform on the other side is able to translate a plain text URL into a hyperlink on it's own.


Like this Description: {URI_REF} ? But it will send an ServiceNow Hyperlink.


Actually we need to send the service now hyperlink as well as the Client SSO Hyperlink for which we have written email script.


mail_script.PNG


I have put the required information into the message and description of the calendar is fetching that information in below shown format.


email template1.PNG