Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

how Topush ServiceNow reportfile from Mid Server To an OracleIntegrationCloud (OIC) SFTP endpoint.

Baskarank
Tera Contributor

Current Functionality:
In ServiceNow, a scheduled job exports the report file and sends it to the MID Server. From there, the file is manually transferred from the MID Server to an SFTP server.

Expected Functionality:
Automate the process to push the ServiceNow report file from the MID Server to an Oracle Integration Cloud (OIC) SFTP endpoint.

1 REPLY 1

Robert H
Mega Sage

Hello @Baskarank ,

 

One of the easiest ways would be to create a PowerShell or bash script (depending on the operating system of your MID server) that calls an sftp client to transmit the file to your SFTP server. Then set up a scheduled task or cron job (again depending on the operating system) to execute the script.

I am not allowed to post external links but simply do an internet search for something like "windows ftp script" to find relevant guides.

 

Regards,

Robert