When configuring the content of an Email Notification, which syntax should be used to reference the properties of an event triggering the Notification?
When configuring the content of an Email Notification, which syntax should be used to reference the properties of an event triggering the Notification?
A . ${event. <property name>}
B . ${current. <property name>}
C . ${property name>.getDisplayValue()}
D . ${gs.<property name>}
Answer: A
Explanation:
https://www.servicenow.com/community/it-service-management-forum/email-notification/m-p/695221
Reference: https://community.servicenow.com/community?id=community_Question:&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. <propertyname>. Thisisthecorrectsyntaxtoaccessthepropertiesoftheeventrecordthattriggeredth eEmailNotification, 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. <propertyname>. Thisisthesyntaxtoaccessthepropertiesofthecurrentrecordthatisassociatedwi ththeevent, suchascurrent. number, current. shortdescription,orcurrent.state.Forexample,{current.shor t_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.<property name>}. 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.
Reference: Email Notifications, Email Notification Variables
Latest CAD Dumps Valid Version with 60 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund