Handle huge datasets from 3rd party Integrations
ServiceNows OOB challenges around receiving large amounts of data (read response packs greater than 32 Mb for data type string). To go around the challenge, I’ve solved it by saving the reply as an attachment (data type: String) var r = new sn_ws.RESTMessageV2(“xxxx”, “yyyy”); r.setBasicAuth(ssss, rrrr); var response = r.execute(); response.waitForResponse(200); //Write the huge attachment […]