First Name & Last Name Variable to be populated in email notification Subject
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-05-2019 02:23 AM
Hello All,
I am working on to modify our employee on-boarding process, our On on-boarding form looks like below. In our process HR submit the request for New Hire by filling below form , where HR manually mention the New Hire First Name & Last Name.
What i want is , when HR submit this form, HR should be receiving an email notification something like below
Service Desk <instance@service-now.com>
Subject : Request REQ0010097 has been opened on your behalf Firstname Lastname
Below are the Variables details.
I have tried adding ${current.variable.nh_first_name} in email notification subject , however it is not working for me. Can anyone suggest me the solution or advise what mistake I am doing. Thanks in advance for help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-05-2019 02:51 AM
Hello,
Thank you for quick suggestion , but my requirement is to add variables in email notification Subject not in the body of email. in my requirement our HR team Submit the New Hire request in Service Catalog form, When HR Submit the request they should be receiving a email notification stating that they have opened a REQ on behalf of New Hire
Example
Email Service Desk <instance@service-now.com>
Subject : Request REQ0010097 has been opened on your behalf Firstname Lastname
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-05-2019 03:00 AM
Hi Naresh,
Are these values first_name and last_name saved? (check for this in question_answer table with the corresponding table_sys_id).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-05-2019 03:28 AM
Hi Rad,
Yes, these vaules are saved

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-05-2019 03:14 AM
Hi Naresh,
With the subject line you mentioned i.e. Subject : Request REQ0010097 has been opened on your behalf Firstname Lastname, it seems you have configured email notification on Request [sc_request] table and not on RITM[sc_req_item] table.
If yes, current.variables won't be accessible in it. Instead you'll have to configure notification on sc_req_item table and use current.variables.nh_first_name & current.variables.nh_last_name in the email subject line.
Can you please try above and let me know if it works?
Mark Helpful/Correct based on the response.
Thanks!
Chetan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-05-2019 03:30 AM
Hi Chetan,
Yes, I have configured the email notification on request(sc_request) table. As per your suggestion i have tried configuring notification on sc_req_item table but its not working either.