We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

I have to set notification subject.

niveditakumari
Giga Sage

Hi, 

 

I have to set notification subject. I have created notification on approval table and have to set notification subject and I have created email script and in that I'm setting order guide field value. I have to set order guide field value in notification subject. 

Please find attached screenshot : 

Notification : 

niveditakumari_0-1770727117548.png 

 

Email Script : 

niveditakumari_1-1770727167837.png

 

Can you please help me to set subject. 

 

Regards, 

Nivedita 

 

 

 

 

 

11 REPLIES 11

@niveditakumari 

Hope you are doing good.

Did my reply answer your question?

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

SohamTipnis
Kilo Sage

Hi @niveditakumari,

 

You can set the Subject for notifications in sysevent_email_action; in that, you will find all the necessary things required for email and notification.

OR use this API :

email.setSubject('Your subject');

You can refer to the below image:

SohamTipnis_0-1770802476080.png

 

 

If you find my answer useful, please mark it as Helpful and Correct ‌😊


Regards,
Soham Tipnis
ServiceNow Developer ||  Technical Consultant
LinkedIn: www.linkedin.com/in/sohamtipnis10