Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

Auto populate end date base on start date

Priti18
Tera Expert

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?

 

 

1 ACCEPTED SOLUTION

asifnoor
Kilo Patron

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.

https://community.servicenow.com/community?id=community_article&sys_id=df6464c9db1ed4909e691ea668961...

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.

View solution in original post

5 REPLIES 5

i will check and will update you