Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to add 90 days from create date into another date field

Stacy1
Mega Guru

I need to add 90 days to the date that a record is created and put it in another date field.

Any thoughts on how I do that.  I am trying it with an onsubmit script because it needs to be done when the record is created.

 

Thanks,

Stacy

1 ACCEPTED SOLUTION

barshaNow
Mega Expert

You can create a business rule and use addDays function to add 90 days 

 

https://developer.servicenow.com/app.do#!/api_doc?v=madrid&id=r_GDT-addDays_N

View solution in original post

1 REPLY 1

barshaNow
Mega Expert

You can create a business rule and use addDays function to add 90 days 

 

https://developer.servicenow.com/app.do#!/api_doc?v=madrid&id=r_GDT-addDays_N