Quarterly, Yearly Scheduled Entity intervals?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-08-2012 07:38 AM
I'm trying to set up automated ticket generation, currently against Incident, that will create Quarterly, Semi-annually or Yearly generation of tickets from templates. So far, the best I can come up with is to use the Periodically and use a set number of days. However, our years aren't so tidy as that (this being one of the untidy years.) I'd like to be able to have additional choices so that I can say on the first day of a specific month or specific set of months, that the schedule should run. How do I do that?
Essentially, these should be requests since they are related to SOX controls, but we haven't really implemented beyond Incident at this point. Is there an easier way of generating tickets to specific people on set schedules using one of the other applications in Service-Now?
Thanks!
- Labels:
-
Orchestration (ITOM)
-
Service Mapping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-08-2012 08:25 AM
How about this - create a Schedule with the days you want the script to run on and then setup a Scheduled Script Execution (System Definition / Scheduled Jobs) to run everyday at midnight (or whatever) with the script from the following post on SNCGuru http://www.servicenowguru.com/system-definition/weekdaysonly-scheduled-job/ (look at my last post there).
You could use the script as the Condition or part of the "Run this script".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-08-2012 09:40 AM
That's great information. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-08-2012 02:15 PM
Run monthly set Day and time.
Condition:
//Set End of Quarter Script
var rc = false;
var now = new GlideDateTime();
var month = now.getMonth();
if (month == 3 || month == 6 || month == 9 || month == 12){
rc = true;
}