planned end date modification
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi team, can any one please suggest me, how to change the planned end date when the change status in scheduled in servicenow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
@saranya3d In case if the form is not allowing you to change the date then you can use a backgound script to change the planned end date.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hello Saranya
I just checked in my PDI, OOB Supports editing the planned end in List view even when the change state is in Scheduled, You can try editing in LIST view, if not the only option is updating via the Background script.
You can use this BG Script to update the desired change request.
var gr = new GlideRecord('change_request');
if (gr.get('number', 'CHG0040006')) { // <-- your change number
var gdt = new GlideDateTime();
gdt.setDisplayValue('2026-07-15 13:53:04'); // interpreted in your session TZ
gr.setValue('end_date', gdt);
gr.update();
gs.info('Updated planned end date on ' + gr.number + ' to ' + gr.getDisplayValue('end_date'));
} else {
gs.info('Change not found');
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @saranya3d ,
Are you facing any challenge to change the planned end date when the change status in scheduled ? is the field readonly ? If yes, please creatr background of Fix script to update the date.
Please mark helpful & correct answer if it's worthy for you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hello @saranya3d ,
If the planned end date field is editable, you can change it directly. Or you can change using background script.
Note: Changing planned end date manually during the change status is scheduled is not recommended. Generally change request gone for approval already based on mentioned planned start date and planned end date.
***************************************************************************************************************************************
If you found this post helpful, please mark it as “Helpful.”
Feel free to share your insights or suggest corrections to benefit our community.
Regards
Murali.K.V.R