create a report and schedule it on every Monday & Wednesday
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2022 09:52 AM
Hello team
i have been assigned a task :-Create a report and schedule it on every Monday & Wednesday.
tried client script but its not working,
how to schedule it on Specific Days.
Kindly help with this simple script.
Thanks and Regards

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2022 09:54 AM
Hi there,
Don't understand your comment about "tried client script but its not working". What has a Client Script got to do with what you are asking?
Have you tried creating a Scheduled Report for example?
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
2020-2022 ServiceNow Community MVP
2020-2022 ServiceNow Developer MVP
---
LinkedIn
Community article, blog, video list
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2022 10:01 AM
Hi
Please go through below two useful links, if you find this hard then simply create two scheduled report one to run on Monday another to run on wednesday. Mark my answer as correct if that helps.
https://community.servicenow.com/community?id=community_question&sys_id=a925d08b1bd4f49017d162c4bd4bcb32
https://community.servicenow.com/community?id=community_article&sys_id=6e48606cdb664850d58ea345ca961957
Regards
Regards,
Musab

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2022 10:05 AM
Hey,
Please use following code in your condition script, after setting the Run weekly:
var getDate = new Date();
var day = getDate.getDay();
if(day == 1 || day == 3) {// monday and wednesday
answer = true;
}
else {
answer = false;
}
Aman Kumar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2022 10:08 AM
Hi,
> Navigate to System Definitions > Scheduled Jobs
> Click on Automate the generation and distribution of a report
> Give report name and select the day when to send and whom to send.
Mark as correct and helpful if it solved your query.
Regards,
Sumanth