Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2016 09:53 PM
You need to query the sc_task table and get all the tasks that are related to the current RITM.
var gr_tsk = new GlideRecord("sc_task");
gr_tsk.addQuery('request_item', current.request_item);
gr_tsk.query();
if (gr_tsk.next()) {
get all the watch list of all task.
}