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.

Limit the“Requested Time Period End Date” selection date to maximum of 7 yrs from the cuent date

PRADEEPREDDY GU
Tera Expert

How to Limit the possible “Requested Time Period End Date” selection date to maximum of 7 years from the current date.

 

PRADEEPREDDYGU_0-1716384081509.png

Can anyone help me on this

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

@PRADEEPREDDY GU 

you can use onChange client script + GlideAjax for this

what did you start with and where are you stuck?

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

SAI VENKATESH
Kilo Patron
Kilo Patron

Hi @PRADEEPREDDY GU 

You can try the below condition as mentioned in the image in ui policy.

ca101.PNG

 

Thanks and regards

Sai Venkatesh