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

Restrict past date and future date that is after 7days in date field using UI policy

SeemaJenitT
Tera Contributor
 
1 REPLY 1

Hemanth M
Tera Sage

Hi @SeemaJenitT ,

 

There is a good article from Mark on how to do this with minimal code.

 

here : https://www.servicenow.com/community/developer-articles/no-code-date-validations-through-catalog-ui-... 

 

You can use "Next Week" and "Last Week" for your requirement!.

 

Hope it helps if so,

 

Accept and hit Helpful if it helps.

Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025,2026