-
Notifications
You must be signed in to change notification settings - Fork 81
Description
I was hoping to find documentation about how to script notifications, email templates, email layouts, and anything related to notifications, but there's nothing about these topics.
I have got to investigate many (not well-documented) methods, such as:
${URI}
creates a link to the current record as: LINK
${URI_REF}
creates a link to the current record with NUMBER as the text: INC123545
${parent.URI_REF}
creates a link to the referenced record with NUMBER as the text: INC123545
${CMS_URI+self-service/incident_detail}
creates a link to the referenced record as:
https://.service-now.com/self-service/incident_detail.do?sysparm_document_key=incident,46e18c0fa9fe19810066a0083f76bd56
${report:X:Y}
Attachs a link to a report where X is the type ID, and Y is the report sys_id like:
${report:reportID:<abc123>}
${report:dashboardID:<abc123>}
At Mail scripts you can use stuff like:
current.getLink()
gs.generateURL(table, recordID, view)
Maybe a Notification section could be added to the wiki.