We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

selected date should not be greater than 30days

Prem13
Tera Contributor

if a user a selects the date and time it should not be greater than 30 days

how to get check that based on users timezone

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron

Hi Prem,

no need of any scripting for this;

you can do this using UI policy itself and it would take care of timezone and date/format as well

Sample Date Relative On or After 90 days from now

find_real_file.png

 

find_real_file.png

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

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

View solution in original post

2 REPLIES 2

Ankur Bawiskar
Tera Patron

Hi Prem,

no need of any scripting for this;

you can do this using UI policy itself and it would take care of timezone and date/format as well

Sample Date Relative On or After 90 days from now

find_real_file.png

 

find_real_file.png

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

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

samadam
Mega Sage

Is there any restrictions in Scoped app for this? I have the same requirement and cannot get it to work.