What is Event Parm 1 and Event Parm 2 in Email Notification?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-05-2016 07:06 AM
In Email notification, advance field event parm 1 and event parm 2 are there, what are uses of these two, can any one explain me.
- Labels:
-
Team Development
- 47,938 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-05-2016 07:35 AM
You can send parameters from the task to the email notification using these to values.
For example, you can send the ticket's number, or assigned to, or comments, depends on what you need.
The command used to do this is the command used to create an event.
Example:
In a business rule, you can add this command:
gs.eventQueue('incident.manager.reminder', current, current.number, gs.getUserName());
gs.eventQueue - adds an event to System Logs -> Events
incident.manager.reminder - is the name of the event
current.number - refers to the number of the task the business rule is running on - this is parm1
gs.getUserName() - gets the username of the one who generated the event - this is parm 2
So when you open the event in System Logs -> Events, you can see parm1 and parm2, such as INC0036577 and John.Doe, respectively.
You can then use the events in an email notification:
If you send the reciepient in parm1, you can check in tab "Who will receive" Event parm 1 contains recipient.
Or you can use it inside the notification itself: ${event.parm1}
More here: http://wiki.servicenow.com/index.php?title=Events_and_Email_Notification#gsc.tab=0
Harel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-30-2017 06:41 AM
Hello Harel,
On Istanbul, the "Event parm 1 contains recipient" is missing. Is this still supported. My notification is fired on an event.
Am I missing something?
Thanks,
Jay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-04-2017 10:06 AM
Jay,
The answer to your question is:
Event parm 1 contains recipient | Select this check box if the event parameter 1 contains one or more email recipients (in a comma separated-list). This field is visible only when the Send when field is set to Event is fired. |
Event parm 2 contains recipient | Select this check box if the event parameter 2 contains one or more email recipients (in a comma-separated list). This field is visible only when the Send when field is set to Event is fired. |
This is located here:
Hope this clarifies the issue.
Marshall

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-22-2019 03:06 PM
Event parm1... Select this check box if the event parameter 1 contains one or more email recipients (in a comma separated-list)
In a comma separated list of what??
I have a comma separated list of email addresses, but it's not working.