Conditional scheduled email report servicenow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2023 06:06 AM
Alguém sabe alguma condicional para programar o envio de um report que deva ser enviado todos os dias da semana exceto finais de semana?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2023 06:17 AM - edited 04-03-2023 06:25 AM
Hi @thamy,
You can use the following script (Você pode usar o seguinte script),
function isWeekEnd(){
var ans = true;
var nowGDT = new GlideDateTime();
var dayWeek = nowGDT.getDayOfWeekUTC();
if(dayWeek == 6 || dayWeek == 7){
ans = false;
}
return ans;
}
isWeekEnd();
Thanks,
Anvesh
Anvesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2023 11:06 AM
Hello @thamy
If my answer helped you to solve the issue, you can accept my answer as solution and close this thread.
Thanks,
Anvesh
Anvesh

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2023 06:40 AM
Consulte este tópico para executar um trabalho agendado durante a semana https://www.servicenow.com/community/developer-forum/schedule-job-need-to-trigger-only-on-weekdays/m...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2023 04:54 AM
I've been placing sports bets for a while now, and I recently discovered a fantastic website that aids me in selecting the greatest betting selections. This website compares several sportsbooks and other gaming venues and offers helpful advice on the wagers that have the best odds of paying off. I suggest this website https://rocketbets.com/br/ to everyone since I believe it will be helpful to everyone who is interested in sports betting and gambling.