- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-28-2022 09:34 AM
Hello All,
I want to export 500 latest requests for a specific catalog item into a excel with RITM fields and 100 Variables in it. I tried doing so by creating a report but I think there is a limitation of variables which can be added to reports and getting an error for that. I have almost 100 of variables on the catalog item.
Can anyone suggest how to achieve this?
Thanks in advance!
Solved! Go to Solution.
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-03-2022 11:34 AM
Ended up creating a report with 25 variables at a time and exported it to excel. Changed variables in each go and at last merged all 4 excel into one to get all 100 variables in one sheet.
Dind't wanted to put much effort since this was the only one time stuff.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-28-2022 10:15 AM
Hi
to my mind, the only solution is to implement a custom exporter via Scripted REST API. Why that way? The reason is, that it is not possible anymore to create processors and a Scripted REST API offers the possibility to set a custom "content-type" header.
Please read the following article which explains the approach and all the pitfalls: https://snprotips.com/blog/2022/2/7/how-to-return-a-csv-file-from-a-servicenow-scripted-rest-api
Kind regards
Maik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-01-2022 11:19 PM
Thanks for your response Maik,
I was able to export around 25 variables from report but if I add variables more than that it shows an error
Is there any property or a script where the limitation is configured? I can modify that temporarily and revert once I'm done with the report since this is only once time report.
Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-01-2022 11:37 PM
Hi
I cannot answer as only providing an error message is not enough to understand where you are stuck and what your coding approach is.
Therefore please provide all details to get an idea of your issue.
Kind regards
Maik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-01-2022 11:43 PM