- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2022 01:53 AM
Hi,
I just want to attach a file to a record.
How can I attach it? Currently, only Apps posts attachments.
I set variables in the Record Producer with the type of Attachment.
Map to Field is not set.
※ Because for some reason the file is duplicated and registered
Best Regards,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2022 02:08 AM
Hi,
So file attached to that Attachment variable should get attached to the target record generated from record producer?
if yes then it won't happen automatically
you will have to script it
I have shared solution for this a year ago; enhance as per your requirement
Disable ZZ_YY prefix from attachment when added through record producer
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2022 01:56 AM
Bit confused. What is the issue here? Is the file not attached or is it duplicated?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2022 02:00 AM
If you want attachment to be shown on record no need to use Variable of type Attachment.
You can simply attach it to the RITM form before submission & it will automatically show up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2022 03:50 AM
Hi,
Thank you.
My requirement is just to have a file attached to a record. I don't use RITM. For a custom table, I want to attach a file to the record itself using Record Producer.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2022 02:08 AM
Hi,
So file attached to that Attachment variable should get attached to the target record generated from record producer?
if yes then it won't happen automatically
you will have to script it
I have shared solution for this a year ago; enhance as per your requirement
Disable ZZ_YY prefix from attachment when added through record producer
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader