Kalaiarasan Pus
Giga Sage

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.


}