Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2020 10:25 PM
hi all,
In my change request, i want to have my planned end auto populate based on start date with 5 days added. how can i do this?
Solved! Go to Solution.
1 ACCEPTED SOLUTION

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2020 10:29 PM
Hello Priti,
If you want business days to add, then use schedules. Refer to this article where i have shown how to add business days.
If you just wnat to add 5 days then in teh business rule
Before update
var startDate = new GlideDateTime(current.planned_start); //check field names
startDate.addDays(5);
current.planned_end=startDate;
Mark the comment as a correct answer and helpful if this helps to solve the problem.
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2020 10:57 PM
i will check and will update you