- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-08-2018 11:33 PM
Hello Guys,
I have a requirement where I need to add RITM number in the Email Notification Subject which is sent when a Service Request is placed in ServiceNow.
In the email body, I already have RITM number with the help of an email notification script where I have glided sc_req_item table and fetched the number of current record but this mail script doesn't work in SUBJECT.
Any help will be highly appreciated.
Thanks in Advance.
Solved! Go to Solution.
- Labels:
-
Team Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-09-2018 12:52 AM
Why don't you write this email notification on "sc_req_item" table. By doing that you can get both Request Number and Requested Item Number in subject.
It will not affect the email notification body content. Only thing is you may need to do some dot walking if you want to pull request fields.
Hope it helps.
Kind Regards,
Jotiram
Hit like /helpful / answered as applicable.
Kind Regards,
Jotiram
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-09-2018 12:52 AM
Why don't you write this email notification on "sc_req_item" table. By doing that you can get both Request Number and Requested Item Number in subject.
It will not affect the email notification body content. Only thing is you may need to do some dot walking if you want to pull request fields.
Hope it helps.
Kind Regards,
Jotiram
Hit like /helpful / answered as applicable.
Kind Regards,
Jotiram
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-09-2018 02:24 AM
This seems to work.Thanks jotiram
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-09-2018 01:17 AM
then your subject will be like this:
Your ${request.number} / ${number} has been registered
Try again and let me know.
Thanks,
Rajashekhar Mushke
Rising star : 2022 - 2024
Community Leader -2018
Connect me on LinkedIn : Rajashekhar Mushke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-09-2018 01:50 AM
Hi Rajesh,
If we write the notification on " sc_req " table then we're unable to select ${request.number} but, as Jotiram Yadav said if we write the same notificaton on " Sc_req_item " table then we can able to select the ${request.number}.
Thanks,
Satish
Please mark your question as answered if it resolves your issue.
Please Hit ✅Correct, âÂ��Helpful, or ��Like depending on the impact of the response
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-09-2018 02:49 AM
Hey Satish,
Thanks for correcting me, totally i was thinking about sc_req_item table.
Thanks,
Rajashekhar Mushke
Rising star : 2022 - 2024
Community Leader -2018
Connect me on LinkedIn : Rajashekhar Mushke