- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2024 04:57 AM
Hi,
I have a field called "Due Date" , it means this date field should be made to select only today's and future days, its should be restricted to select the Past dates. How can i change this only for one catalog item variable to select the future dates.
Can someone please help me here.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2024 05:10 AM
Hi @Nafisa Zaman ,
Create a UI policy for this :
Condition :
Due date > is relative > on or before today
Ui policy action :
Clear field and show error....
☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2024 08:08 AM
The due date must be set by system and it must be future date only. Better if no one put past date, better to make this field read only. You can make it via UI policy .
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0754985
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2024 05:10 AM
Hi @Nafisa Zaman ,
Create a UI policy for this :
Condition :
Due date > is relative > on or before today
Ui policy action :
Clear field and show error....
☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2024 05:42 AM
Thank for the help. its working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2024 08:08 AM
The due date must be set by system and it must be future date only. Better if no one put past date, better to make this field read only. You can make it via UI policy .
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0754985
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************