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... take a look at my channel: https://www.youtube.com/@cloudminus89
Comments
Post a Comment