Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

Email Notification

Snehal
Tera Expert

Hi Team ,

Notification is on Request table and I want to include the short description in subject of email and the short description is containing the requested item name .Mentioning formate as below

Request number "REQ___" was created - Short description 

 

Here short description = Requested Item Label notification 

I have tried using variables in notification itself but not working then i am trying using email script attaching screenshots here.

i have used this script  

//email.setSubject('<div> Request ' + task.number + ' was created - ' + task.item + '</div>');

this also not taking the "request number"

Help will much appreaciated !

Thank You !

 

 

2 REPLIES 2

Sumanth16
Kilo Patron

Hi @Snehal  ,

 

In your notification record just add this in the subject ${short_description}.

 

If I could help you with your Query then, please hit the Thumb Icon and mark it as Correct !!

 

Thanks & Regards,

Sumanth Meda

i tried this way since notification is on Request Table it can't take any variable value from RITM table thats why i was using script in the script i am not able to fetch the value Request number (i used request.number )but it is showing undefinedScreenshot 2024-03-09 at 5.46.15 PM.png