- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-03-2023 06:59 AM
Once we attached some data in the any of the catalog item form in sp how it can be populate in the in email notification in ServiceNow
Thanks in Advance!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-04-2023 03:11 AM
Create a business rule on sysapproval_approver table,
And in advance section have the below code which will copy the attachment from RITM to Approval Record and you can then use it in notification.
GlideSysAttachment.copy('sc_req_item', current.sysapproval , 'sysapproval_approver', current.getValue('sys_id'));
Make the mentioned change in the notification :
Please mark my answer as correct, if it resolves your query.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-04-2023 03:11 AM
Create a business rule on sysapproval_approver table,
And in advance section have the below code which will copy the attachment from RITM to Approval Record and you can then use it in notification.
GlideSysAttachment.copy('sc_req_item', current.sysapproval , 'sysapproval_approver', current.getValue('sys_id'));
Make the mentioned change in the notification :
Please mark my answer as correct, if it resolves your query.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-20-2023 12:50 PM
Hi,
I'm trying to do the same thing, copy attachments (proof of training), to an access request approval email. The attachments is saved on the RITM, so the solution looks perfect. However I tried creating the business rule, but get an error on the condition for "Approval for.Requested Item.Item" = "New Functionality". What should this be? Is New Functionality a placeholder for another variable?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-10-2024 04:13 AM
In Item condition you should select your catalog item.