var tsk = new GlideRecord('sc_task');
tsk.addQuery('request_item', current.sys_id);
tsk.addActiveQuery();
tsk.query();
if(tsk.next()){
answer = false;
}
else{
answer = true;
}
tsk.addQuery('request_item', current.sys_id);
tsk.addActiveQuery();
tsk.query();
if(tsk.next()){
answer = false;
}
else{
answer = true;
}
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.