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

Maximum date should be selected in date picker

Nandini1406
Tera Contributor

Hi team,

I have a requirement that need to select the 31/12/9999 in date picker while giving any condition that end date is not on 31/12/9999.

and one more question,

Need to create user criteria from Hr Profile table , how to implement this

 

Thanks

Nandini

2 REPLIES 2

Siddhesh Gawade
Mega Sage

Hello @Nandini1406 ,

 

If you wanted to do this you can create script to populate the date field with "31/12/9999" if the condtions are matching. 

 

Didn't understand what is the use of user criteria?

 

Kindly mark the answer ✔️Correct or Helpful ✔️If it addresses your concern.


Regards,

Siddhesh

Sandeep Rajput
Tera Patron

@Nandini1406 Use an onLoad client script to populate the date field with value 31/12/9999.