Restrict Past Date Selections on Date field | UI Policies | ServiceNow

Опубликовано: 01 Май 2026
на канале: LearnIT
1,257
19

For More Information, please check details below:

In this session, I have explained how we can Restrict Past Date Selections using UI Policy in ServiceNow.

====================UI POLICY======================

Table - Change Request
Conditions - Planned Start Date before Today
Execute if true Scripts -

function onCondition() {
alert('Planned Start Date should not be added before today!!!');
g_form.clearValue('start_date');
}

If you have any feedback related to the scripting part, please write it in the comment box.

My Playlists for Quick Access for Various Learning Paths:

ServiceNow Interview Questions -    • Playlist  

ServiceNow Scenario Based Solutions -    • ServiceNow Scenario Based Solutions  

ServiceNow Scripting -    • ServiceNow Scripting  

ServiceNow Advanced Concepts -    • ServiceNow Advanced Concepts  

ServiceNow Concepts -    • ServiceNow Concepts  

ServiceNow Tips & Tricks -    • Playlist  

ServiceNow San Diego Release -    • ServiceNow San Diego Release  

ServiceNow Basics & Overview -    • ServiceNow Basics & Overview  

ServiceNow App Engine Studio -    • ServiceNow App Engine Studio  

ServiceNow Shorts -    • ServiceNow Shorts  

#servicenow #learnit #learnitbyprashant

Thanks for Visiting my Channel . Here I will be sharing all kinds of technical Knowledge. Anyone can connect with me directly for anything as part of ServiceNow Related Query.

Keep Supporting me so that I can continue to provide you good content each time!!😇🙏

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Thank you for Watching My Videos!!!
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬