is there a way to include attachments on Approval Email Notifications without having to copy them from the "approval_for" reference record ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-06-2014 08:55 AM
For some strange reason, I seem unable to have SN copy attachments from the approval_for reference record to an actual approval request. In my email notification, I have the "Include Attachments" field checked, still no attachments coming through. Is there something else I am forgetting to check ??
Any help with this would be very much appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2015 12:13 PM
No, this is from the Incident table. The links to the attachments appear on the approval record in the "Approval Summarizer" section, but they do not attach directly to the approval record.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2015 02:00 PM
I see what you mean, and it was giving me one heck of a time trying to figure this out.......But I got it work...
I don't know if its a Fuji thing (I did all my testing in the sandbox) but as soon as I sent to Async all worked as expected.... /facepalm
function onAsync(current) {
//This function will be automatically called when this rule is processed.
var gr = new GlideRecord("incident");
gr.addQuery('sys_id', current.sysapproval);
gr.query();
while(gr.next()) {
GlideSysAttachment.copy("incident", gr.sys_id, "sysapproval_approver", current.sys_id);
}
}
Try it out. Hopefully it works for you.
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2015 02:06 PM
That worked! Thank you for all of your help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2015 02:13 PM
You're very welcome!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-24-2016 04:18 PM
HI Michael,
I have same kind of requirement. Can you once check this link Attachments Copy
Thank you.