- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2024 12:21 PM
I have a request that requires approval. There is an email that is created upon submission of the request. In the subject line of the email the short description and the user who the request is for should be displayed. This is what I have in the subject line ( ServiceNow pending approval - ${sysapproval.short_description} - ${document_id.requested_for} ). The short description displays correctly, however ${document_id.requested_for} does not return the user who requested the catalog item (requested_for) and instead returns the user who created the request (opened_by). Can someone provide some insight into what is being done incorrectly?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2024 01:20 PM
Yea, seems like its request.requested_for not RITM's requested_for.
You have two options:
- Use request.requested_for in the email subject. e.g. ${document_id.request.requested_for}, or
- Use the 'Requested for' variable/or ensure the RITM's requested_for variable is updated corrctly
I am guessing your organization only allows a single requested item per request by looking at the design. If your organization will consider allowing multiple RITMs per request, you will have to go with the 2nd option and this will require some effort.
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2024 01:20 PM
Yea, seems like its request.requested_for not RITM's requested_for.
You have two options:
- Use request.requested_for in the email subject. e.g. ${document_id.request.requested_for}, or
- Use the 'Requested for' variable/or ensure the RITM's requested_for variable is updated corrctly
I am guessing your organization only allows a single requested item per request by looking at the design. If your organization will consider allowing multiple RITMs per request, you will have to go with the 2nd option and this will require some effort.
Cheers