create an error or stop submission during blackout schedule
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā09-19-2023 08:54 AM
i have a blackout schedule during a change request period but i would like to make so it displays an error if done during a blackout perioud or blocks the submission. I was told this could be done via business rule but i dont know how to go about that. can anyone assist
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā09-25-2023 09:28 AM
Hi @Revanth Karra thank you for the reply.
I recieved the following error: JavaScript parse error at line (1) column (54) problem = missing ; before statement (<refname>; line 1)
the condition written was:
BLACKOUT_START_DATE <= current.planned_start_date AND current.planned_start_date <= BLACKOUT_END_DATE;
can you help me with the condition error?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā10-02-2023 03:18 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā04-30-2024 03:10 AM
black out start date and black out end date, both of the fields are not available in change request table, please help from where i need to get them
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā04-30-2024 08:01 AM
Blackout schedules are stored in the 'cmn_schedule_blackout' table.
The OP hear can view the client script named 'Conflict change' which checks planned_start_date and planned_end_date against the blackout schedules on the change_request record. Create a similar client script, runs onSubmit that has:
//Abort the submission
return false;to abort the submission.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā04-30-2024 12:02 PM
There is the "Change Management - Collision Detector" plugin that can work here.
see:
