Rewrite 'processor' to 'scripted rest api' .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2023 09:47 PM
Hi Everyone,
As processors are deprecated in ServiceNow and I need to implement the functionality to export multiple catalog as a single xml in a scoped app, I tried to re-write a processor 'Export Catalog Data' to a scripted rest api.
Have done that, but while calling the script include 'ExportCatalog' with RESTAPIResponse 'response', its throwing an error!! have set the header and status code before calling the script include, but its the same.
Further this led me to a java write denied error, which I guess is with the response stream writer.
Has anyone faced similar situation or could anyone shed some lights on this please!!
Or is there any other approach to export multiple catalogs as single xml file.
Thanks,
Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2023 10:40 PM
Can you share current script etc and the error?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader