Regarding requirement of javascript in service now
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-12-2023 01:45 AM
I need a script where for a particular group evidences I can add 2 people of watchlist to all the evidences in one go.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-31-2023 03:10 AM
@Rishabh2631997 Can you please elaborate what you are actually looking for?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-31-2023 03:29 AM
Hello @Rishabh2631997 ,
var gr= new Gliderecord('Evidence table');
gr.addQuery('fieldname','value); or use Encoded query
gr.query();
while(gr.next())
{
gr.watch_list='Sys_id of the people which you want to add';
gr.update();
}
Thanks,
Omkar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-06-2023 01:40 AM
Hello @Rishabh2631997 ,
var gr= new Gliderecord('Evidence table');
gr.addQuery('fieldname','value); or use Encoded query
gr.query();
while(gr.next())
{
gr.watch_list='Sys_id of the people which you want to add';
gr.update();
}
Thanks,
Omkar