How to send a scheduled report (CSV file) to external server from ServiceNow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
Hi,
Could someone please help me for below requirement.
I have a report which is there on custom table which needs to schedule on weekly basis and send to external sever.
CSV files need to send to external server.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
you can configure scheduled report which sends csv of that report's table to users/groups/recipients.
But not to external Server.
For that you will have to design a custom solution
what does this external server mean -> FTP?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi Ankur,
Server is FTP /SFTP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
I have not used below method but you can give a try using Flow Designer subflow & action
You can also try below approach
If this helped to answer your query, please mark it helpful & accept the solution.
Thanks,
Bhuvan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
57m ago
Hi Sivanaga,
You can try this approach.
1. Go to Export Sets module
2. Create one report based on your custom table by mentioning date and time (by selecting CSV option)
3. This export set will, export a CSV report file in MID Server folder
4. Now there are 2 ways to send a file to external system.
a) Share the MID Server folder which has CSV file (by going into folder sharing option)
b) Use SFTP client to send CSV file from source location to target location (this will need required permission like IP Address / firewall)
5) After file is shared, please create simple BATCH command file to remove the already shared CSV report file and make space for the new CSV file for next week export.
-----------------------------------------------------------------------------------------------------------------------------------
Simplest way
Send CSV file as attachment is by using Scheduled Reporting.
Hopefully external system is having capability to receive email and download the attachment
_____________________________________________________________________________
If RPA (Automation Anywhere or UI PATH) exists, please check with them for Automate this activity.