Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Copy the ast_contract table active records attachments from servicenow and paste in the sharepoint

Not applicable

Have requirement to download the ast_contract table active records attachments and paste in the sharepoint folder. How to achieve this ?

1 REPLY 1

ShivamT73789857
Mega Contributor

“Create a scheduled script: query active ast_contract records, read their attachments with GlideSysAttachment.getBytes(), and call a SharePoint REST API/REST Message to upload each file into the required SharePoint folder.”