Generate a report via script?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2018 05:55 PM
Hi,
I've looked through documentation and done some searching but I'm a bit stumped. Does anyone know if it's possible to generate a standard ServiceNow report (Such as a pie chart) to a file (e.g. png, jpg, pdf) via script?
I'm looking to attach the result into an existing process, but it is desirable for the report to generate itself rather than forcing the user to go, view the report, export it, then attach it back into the process... but I'm having no luck finding a mechanism to do this without user-interaction.
Thanks.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2018 08:59 PM
have you explored the possibility of triggering an 'on demand' scheduled report via an event?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2018 09:33 PM
Scheduled report didn't come to mind originally, because I always think of them as scheduled rather than on demand.
They seem fairly close, but I don't want it emailed, I want it attached to a record in the system... I suppose I could set an email back to the system itself & parse it with an inbound action but this seems like a very convoluted way to get a copy of a report...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2018 09:25 PM
It can be done by using scheduled reports.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2018 06:11 PM
Only to email the report out right? As far as I can tell there's no way to use a scheduled report to actually keep the generated output in the system...