- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-21-2020 11:13 AM
I have a large number of files from a previous system (Sharepoint) that need to be attached to records in ServiceNow. I basically have a Windows folder with all of the files that need to be attached (pdfs and docx mostly). As far as the ServiceNow table, there is a field that holds the correct filename that needs to be attached to the record. I am able to attach records one at a time but need to be able to automate the process as there are hundreds of records. I can get the record's sys_id and the file to be attached from the table but I don't know how to get the actual files into ServiceNow and then search through them to associate the correct attachment with the correct record.
Solved! Go to Solution.
- Labels:
-
Integrations

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-21-2020 11:51 AM
Hi Pres,
Bulk Loading Attachments to ServiceNow With PowerShell this Article can help you achieve your goal.
Please mark this ACCEPTED & HELPFUL, if it answered your question.
Thanks & Regards,
Sharjeel
Muhammad

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-21-2020 12:00 PM
Hi,
I will suggest to take all sysid in on array and write a powershell script in which sys id and attachment will be mapped to each other. Then trigger a powershell from ServiceNow.
Thanks,
Ashutosh