How to restrict submission of a change request in a blackout window ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-14-2014 06:30 AM
If Planned Start Date & planned End Date falls in blackout window, then it will not allow to submit a change request ?
- Labels:
-
Service Mapping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-14-2014 08:12 AM
You can use out of box "Check Conflict" functionality and use it in your UI Action using client script to show alert before submitting change.
//Code that runs without 'onclick'
//Ensure call to server-side function with no browser errors
if (typeof window == 'undefined')
checkConflicts();
function checkConflicts() {
suppressMaintenanceScheduleMessages = true;
var conflictDetector = new ChangeCheckConflicts(current);
var conflictResults = conflictDetector.check();
current.conflict_status = 'No Conflict';
var msg;
if (conflictResults < 0)
msg = gs.getMessage('Configuration Item needed for conflict analysis');
else if (conflictResults == 0)
msg = gs.getMessage('There are <FONT COLOR="green">NO CONFLICTS</FONT>');
else {
msg = gs.getMessage('There <FONT COLOR="tomato">ARE CONFLICTS</FONT> - See "Conflicts" related list');
current.conflict_status = 'Conflict';
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-19-2014 05:54 AM
Hi ppparmar,
With this OOB functionality, it checks for all types of Conflicts(Like Not in Maintenance Window,CI already scheduled,etc. ). But i only want to check specifically for "blackout window" only, that if the change we are scheduling falls in the blackout, then i need an alert, or will be able to set value in some field.?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2014 05:16 AM
In that case you might need to define conflict properties under administration. Hope it helps !!
Always mark the question as answered !! If answered as per your expectations
Regards,
Ayush Saxena
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-07-2014 06:49 PM
Thanks Ayush