How to trigger an event to email using client script on service portal

Shaik Ibrahim k
Tera Contributor

Need to trigger an event to email using client script in Service Portal

5 REPLIES 5

Visnu1517
Tera Contributor

Hi @Shaik Ibrahim k 

Identify the email notification template using which you want to send the email notification (if not create one)

Create an event in the event registry using the same table on the email notification. and configure the email notification to trigger when the event is fired and select the created event

Create a client callable script include and call the event using gs.eventQueue() method in the client callable script include method. Use this method in the client script to trigger the event