Questions on Notications
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2023 01:03 AM
Hello,
Please provide answers of below questions.
1.what is the use of email template and how to trigger a template from script.
2.How exactly trigger an event from system.
3.what is the use of parm1 and parm2?
4.What is the use of weight option in email notification?
5.what is the format and flow of an event?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2023 01:15 AM
Hello @Shaik22 ,
Refer this videos for complete understanding What are Email Templates in ServiceNow? How we can use EVENT to automate EMAIL NOTIFICATION ServiceNow Email Notification Weight Demo
Kindly mark correct and helpful if applicable

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2023 01:26 AM
@Shaik22 Here are my inputs.
1. Email templates can be used to create reuse-able content for the subject line and body of email notification. Please refer for more information
2. Here is the code to trigger an event via script. For more information read https://www.learnnowlab.com/Event/
gs.eventQueue("Event name",argument,"parameter1","parameter2")
3. Param 1 and param 2 are two input parameters which can be tagged with an event whenever it is triggered.
4. Email notification weight is defined as a required numerical value for this notification's priority relative to other notifications: With the same target table and recipients. The system only sends the notification with the highest weight. Source: refer
5. An event is first registered in the event registry and later on can be used to either trigger a notification or a script action.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2023 02:04 AM
Hi @Shaik22
Please check below
1. what is the use of email template and how to trigger a template from script
=>Email templates enable administrators to create reusable content for the subject line and message body of email notifications.
Please check below docs for reference
They are normally triggered via script (most frequently via a Business Rule). See documentation for eventQueue()
https://developer.servicenow.com/app.do#!/api_doc?v=kingston&id=r_ScopedGlideSystemEventQueue_String...
Events can also be triggered via workflow activity 'Create Event’.
Event-specific parameter the system uses to pass record information to other parts of the system, such as a record Sys ID or a field value.
Event-specific parameter the system uses to pass record information to other parts of the system, such as a record Sys ID or a field value.
4.What is the use of weight option in email notification?
Email notification weight is defined as a required numerical value for this notification's priority relative to other notifications: With the same target table and recipients. The system only sends the notification with the highest weight.
5.what is the format and flow of an event?
Please check and Mark Helpful and correct if it really helps you.