tick the 'conditional' box and paste in the following code:
var answer=false;
var now = new GlideDateTime();
//Run only on weekdays
var DoW=now.getDayOfWeek();
answer = (DoW < 6 && DoW> 1);
answer;
All things ServiceNow...
Comments
Post a Comment