HR case - While submitting the HR case, the attached document is not getting attached to the HR case
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2026 02:29 AM
The attachment issue was resolved by updating the script.
"new global.VariableUtil().copyAttachment(producer.<variableName>,'<tableName>', current.sys_id);"
However, the same script is being used for another record producer with the same issue, but it is not working there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2026 07:06 AM
so what error you got?
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2026 03:25 AM
Hi @Ankur Bawiskar
Attachments are not showing in HR case comments and work note, in description it is updating with variable name and attached file name, check below image
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2026 07:04 AM
confusing.
your screenshot says something different
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader