Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2021 12:50 AM
Hi Gouse,
You could try below BR.
(function executeRule(current, previous /*null when async*/) {
var parentChange = current.change_request.getRefRecord();
if (parentChange.isValidRecord()) {
current.planned_start_date = parentChange.start_date;
current.planned_end_date = parentChange.end_date;
}
})(current, previous);
Please mark correct/helpful if applicable.
Regards,
Shubham
Regards,
Shubham Tipnis
ServiceNow Enthusiast
⭐️ 3x Rising Star (2022–2024) – ServiceNow Community
Sharing insights, use cases & real-world learnings from the Now Platform
Always learning. Always building.
Shubham Tipnis
ServiceNow Enthusiast
⭐️ 3x Rising Star (2022–2024) – ServiceNow Community
Sharing insights, use cases & real-world learnings from the Now Platform
Always learning. Always building.