How to display latest short description of RITM in notification

B somanna
Tera Contributor

Hi Team, 

I have created a notification on sc_req_item table and in email script i have given to print current.short_descripton.

 I need the short description of RITM to be visible on notification.

But when i create request , given short description as 'Test' for RITM , sometimes i see default short description  RITM and somtimes as 'Test'  its not constant in notification 

Pls refer the below img.

Here in RITM form default text is overridden by 'TEST '

Bsomanna_0-1675668457093.png

 

but in email notification its giving default one

Bsomanna_1-1675668628629.png

here is a email script code

Bsomanna_2-1675668822362.png

How to make short description as given by end user while requesting?

 

Thanks

 

 

14 REPLIES 14

Okay Ankur Sir , Thanks for the suggestion!

 

@B somanna 

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

I suggested the same thing in my initial reply. Please marc correct if any of the options I proposed worked for you 🙂


Please mark Correct and click the Thumb up if my answer helps you resolve your issue. Thanks!
Martin Ivanov
ServiceNow MVP 2023, 2024

yes ,Thanks for the solution, but this solution works good it is for only one catalog item, there are more than one catalog item in notification and backend value for the variable which holds the short description varies according to catalog items.

Is there any other way i can achieve it ?

@B somanna 

Each catalog item will have it's own variable for taking the input.

How can the same notification work for every catalog item?

It depends on your requirement whether you want to fetch it from variable or want to copy to RITM short description

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