GlideEmailOutbound()-Send Notifications using Script with email template

Supriya Mane
Tera Contributor

GlideEmailOutbound()-Send Notifications using Script with email template using business rule how we can configure

2 REPLIES 2

Kieran Anson
Kilo Patron

Hi

I recommend reading the following. This will provide you with some key tips on how to write a community question that is a higher chance of being answered 

 

10+ Tips for writing a quality community question - ServiceNow Community

yashkamde
Mega Sage

Hello @Supriya Mane ,

 

Refer this for detailed understanding :

GlideEmailOutbound - Scoped 

GlideEmailOutbound()-Send Notifications using Script 

 

When to you it :

> You need fully dynamic recipients at runtime that Notification conditions can't fetched.

> You're sending outside standard notification triggers (from a Scheduled Job, Script Include, or Flow Action)

 

Although ootb recommended way is to - Business Rule fires an event, Notification record picks the template and handles merging fields, recipients, conditions.

It's more maintainable than manually scripting GlideEmailOutbound since you get built-in template and easier configuration without touching script.

 

If my response helped mark as helpful and accept the solution.