ServiceNow Building a JSON array (using ServiceNow AI - Now Assist for Code) Below was mostly generated using Now Assist. The future is bright! retrieveAPMs: function (bDelta) { var APMs = []; var responseObj = { transaction_name: this . CONSTANTS . APM_FULL_IMPORT , total_apms: '' , apm_list: [] }; var grAPM = new GlideRecord ( 'cmdb_ci_business_app' ); grAPM.addEncodedQuery( this .apmquery + this .apmAdditionalquery); ...
All things ServiceNow... take a look at my channel: https://www.youtube.com/@cloudminus89