What are the objects in email script?

ak4
Tera Contributor

What are the objects in email script?

4 REPLIES 4

sachin_namjoshi
Kilo Patron
Kilo Patron

Following objects are available in email script

 

https://docs.servicenow.com/bundle/orlando-servicenow-platform/page/administer/notification/referenc...

 

Regards,

Sachin

 

asifnoor
Kilo Patron

Hi,

In the mail script, following are the objects that you can use.

  • Current: This object refers to current gliderecord object on which the notification is created and you can all field values from current object
  • template: using Template object you can print the values of the fields in the notification
  • email: There are many variables of email object. you can refer to this link
  • event: If the email notification is triggered through event, then event object can be accessible. The parameters of event can be accessible as event.parm1 or event.parm2.

Kindly mark the comment as a correct answer and also helpful if this answers your question.

Hi AK

If this has answered your question, kindly accept the comment as a correct answer so that the question is moved to the solved list.

DirkRedeker
Mega Sage

Hi

Is that a general question, or do you have a specific use case that you try to solve.

Your question is quite wide to answer.

BR

Dirk