We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Date should not be past date it should be current or future.

akashgujar
Tera Contributor

In my catalog item I have used one field, named as  Ship Time Stamp as field type date. So I have to used  current date or future date only. So can you please help me with the script.

2 ACCEPTED SOLUTIONS

Hi @akashgujar 

 

Please share the UI policy screen shot. 

*************************************************************************************************************
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/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************

View solution in original post

Hi @akashgujar ,

 

If u r checking this on portal please change run script UI type to All instead of Desktop. It will work. Also if u have another client script doing the same thing please deactivate it. UI policy is sufficient.

 

 

Thanks,

Danish

 

View solution in original post

16 REPLIES 16

Hi @akashgujar 

 

Please share the UI policy screen shot. 

*************************************************************************************************************
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/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************

Hi @akashgujar 

 

I tested this:

LearnNGrowAtul_0-1702057130655.pngLearnNGrowAtul_1-1702057165939.png

 

*************************************************************************************************************
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/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************

akashgujar
Tera Contributor

Screenshot (163).png

@akashgujar 

 

It is correct 

Can u share the script section as well please.

 

Thanks,

Danish

 

akashgujar
Tera Contributor

akash12345_0-1702058397817.png