In OOB, we have a useful utility, GlideRecordUtil() script include to work with GlideRecords. I've found two handy functions to fetch and update the record data.
populateFromGR()mergeToGR()
populateFromGR(object, gr, ignoreFields)
This function c...
We can enable search configurations on Record producer(s) variables so that when users enter data into a variable,
they can access related search results such as articles/catalog items.
Record producer configurations are available in Service Now to ...
In general, We set the timer to Schedule jobs in Service Now to automate manual tasks. We can also use the below API to execute the JOB from the server-side scripts.SncTriggerSynchronizer.executeNow(<Pass the JOB record object>);
We have a global utility called GlobalServiceCatalogUtil in ServiceNow to retrieve information related to Catalog items, one of the interesting functions is getVariablesForTask It retrieves all the variables associated with SCTASK in JSON format. Han...
We can utilize the Service catalog API to raise catalog requests from external applications when integrating third-party applications with ServiceNow.
We'll need two important APIs to submit the request 
> Add Item To Cart (POST)
> Submit Order (POS...
@sugand
The Affected CIs tab is where you would list all the CIs that you are going to change. The Impacted services/CIs are populated with the Services that will be impacted based on the CIs you are going to change.
If I could help you with my resp...
@Pallavi65
Try the following script
var grActiveTasks = new GlideRecord('sc_task');
grActiveTasks.addQuery('request_item', current.sys_id);
grActiveTasks.addActiveQuery();
grActiveTasks.query();
if(grActiveTasks.next()){
answer = false;
}
else{...
@Lokesh Yanati
Can you try the following code?
var appList = [];
var app = new GlideAggregate('u_applications');
app.groupBy('u_application_name')
app.query();
while(app.next())
{
appList.push(app.getValue('u_application_name'));
}
for(var name in...
@Amol Pawar
UI policies "Applies on the Target Record" check box supports the catalog UI policy on a record created for task-extended tables only.
For more information - KB0965252
If I could help you with my response you can mark it as helpful and ...