- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2017 07:08 AM
I'm trying to pull in the display value of my reference variable 'vend_name', but will not work. The 'Requested For First Name' is pulling in as expected:
Hello ${request.requested_for.first_name},
Your request for a New Mexico Non-Taxable Transaction Certificate (NTTC) for ${current.variables.vend_name.getDisplayValue()} has been completed. Please find attached the certificate for your use.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2017 10:28 AM
Nicole, you don't need to use a mail script and that is causing the extra line. Use the following instead:
Hello ${request.requested_for.first_name},
Your request for a New Mexico Non-Taxable Transaction Certificate (NTTC) for ${request_item.variables.vend_name} has been completed. Please find attached the certificate for your use.
Thank you,

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2017 07:20 AM
Did you try just using ${current.variables.vend_name}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2017 07:30 AM
Neither of these worked, unfortunately.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2017 07:37 AM
Make sure that variable exist on the ticket.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2017 07:26 AM
You actually don't need to use getDisplayValue(). ServiceNow will automatically include the display value so just use:
${current.variables.vend_name}