I want to add a field such a way that user has to select from and to date

kranthi2
Tera Expert

Hi,

I want to add a field such a way that user has to select from and to date.

kranthi2_0-1706772754642.png

 

Basically, user want to select the date 

 

kranthi2_1-1706772959177.png

Once the user is selected the issue type there is Timings field should display and it consists of the timing will set 

for example Monday 06AM to 7PM

is this possible in ServiceNow if Not then what was the alternative for the same.

 

 

Thanks,

 

 

6 REPLIES 6

Pranav_Thanedar
Mega Sage

@kranthi2 

 

There is no OOB way to do this as ServiceNow only has date/date and time field types. You need to use select box fields and add Weekdays options and specific timings like 06 AM, 07 AM, etc. 

 

I would suggest use system properties to add these values in a comma separated way in those properties and then simply populate those select boxes with these property values. This is simplify maintenance of these options.

 

If you feel this has helped you a bit, you may mark the answer as helpful or accept it as a solution.

 

Regards,

Pranav Thanedar

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @kranthi2 

 

It is not OOTB available, but what i can think, we can put a UI policy to validate the time entered by user and if it is outside the window show message. 

 

*************************************************************************************************************
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]

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

Hi @Dr Atul G- LNG 

Thanks for your response

 

But here user will select the timings which ever he/she want to edit 

 

Thanks

SO you want , user able to select the timing between this (day and time) not outside this

 

LearnNGrowAtul_0-1706784410199.png

 

TRy like this 

 

LearnNGrowAtul_1-1706784598592.png

 

 

*************************************************************************************************************
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]

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