What is Event Parm 1 and Event Parm 2 in Email Notification?

nayaexam
Kilo Contributor

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.

10 REPLIES 10

Ehab Pilloor
Mega Sage

Hi @nayaexam,

In ServiceNow email notifications, the "Advanced" field includes the "Event Parm 1" and "Event Parm 2" options, providing additional flexibility in customizing email notifications. Here's a breakdown of their uses:

1. Event Parm 1:
- Purpose: "Event Parm 1" allows you to pass dynamic values or parameters to the email notification script or business rule associated with the triggering event.
- Use Case: You might use this field to send specific data or context information related to the triggering event. For example, if the notification is associated with an incident creation event, "Event Parm 1" could pass the incident number or priority for further customization in the script.

2. Event Parm 2:
- Purpose: Similar to "Event Parm 1," "Event Parm 2" provides an additional parameter for passing dynamic values to the email notification script or business rule.
- Use Case: Use this field when you need to pass a second set of dynamic data or context information. It can be especially useful when there are multiple pieces of information relevant to the event. For instance, you might pass both the affected user's name and the category of an incident for more personalized and context-specific email content.

These parameters essentially serve as placeholders that can be utilized in the scripting logic associated with the email notification. In the script or business rule, you can reference these parameters (event.parm1 and event.parm2) to dynamically include specific details in the email body, subject, or other notification attributes based on the context of the triggering event.

Remember to handle these parameters appropriately in your scripting logic to ensure that the email notifications contain relevant and accurate information based on the specific event that triggered them.

 

If you found my reply useful, please mark it as solution/helpful.

 

Thanks and Regards,

Ehab Pilloor