When configuring the content of an Email Notification, which syntax should be used to reference the properties of an event triggering the Notification?
[Reference: https://community.servicenow.com/community? id=community_QUESTION NO:&sys_id=e017cbe5db1cdbc01dcaf3231f9619a3, When configuring the content of an Email Notification, the following syntax should be used to reference the properties of an event triggering the Notification:, event..ThisisthecorrectsyntaxtoaccessthepropertiesoftheeventrecordthattriggeredtheEmailNotification,suchasevent.name,event.parm1,orevent.parm2.Forexample,{event.parm1} will display the value of the first parameter of the event., The following syntaxes are not correct for referencing the properties of an event triggering the Notification:, current..Thisisthesyntaxtoaccessthepropertiesofthecurrentrecordthatisassociatedwiththeevent,suchascurrent.number,current.shortdescription,orcurrent.state.Forexample,{current.short_description} will display the short description of the current record., ${property name>.getDisplayValue()}. This is the syntax to access the display value of a property of the current record, such as current.state.getDisplayValue(), current.assigned_to.getDisplayValue(), or current.category.getDisplayValue(). For example, current.state.getDisplayValue() will display the state of the current record in a human-readable format, such as New, In Progress, or Closed., ${gs.}. This is the syntax to access the properties of the GlideSystem (gs) object, which provides methods for performing system operations, such as gs.now(), gs.getUserID(), or gs.getProperty(). For example, gs.now() will display the current date and time of the system. References: Email Notifications, Email Notification Variables, ]
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit