User Activity
Run the below script to get all the reports that are not associated with any dashboard.
gs.info('Please find the below reports which are not associated with any dashboard');
gs.info('Report Title -- Report on Table -- SysID');
var grSysReport =...
04-18-2024
We can get all the functions created in the protected script include using below code.
var instance=new scriptIncludeName(); /**name of script include**/
var list=[];
for(var prop in instance){
gs.info(prop);
var temp=instance[prop] instance...
10-31-2023
Hi Experts,
Could you help me with the following requirements?
We have a public page in the service portal and a custom public widget with a download button on that page. With a click of that, button it should download one file which is present in ...
10-10-2023
Hi Experts,
In this article, I have added the code to get the NLU Prediction result based on our model and utterance.
Execute the below code in the background script to test :
try {
var modelId='<<Add you model sysID>>';//NLU Model sys_id
...
08-24-2023
We can call AI search in server side script.
ServiceNow has provided one OOB script include(AISASearchUtil).Before calling that script include make sure you are in global scope.In the below script I have extracted KB articles from the response of the...