clock type variable

poco
Tera Contributor

Hello i want to create a variable type as clock. But service now provide only Date/time type   i want  to only show clock to end user please help me creating custom type in service now  and provide path also

 

Thanks in Advance 

3 REPLIES 3

SP22
Mega Sage
Mega Sage

Hello @poco,

I don't think you can create new variable type as clock. If you want to show clock to end user then you can create clock widget and add it to the portal. Already OOB Cool clock is available under widget.

sp_widget.do?sys_id=3a36b30b6f3631005be8583e6b3ee490&sysparm_record_target=sp_widget&sysparm_record_row=1&sysparm_record_rows=1&sysparm_record_list=nameCONTAINSclock%5EORDERBYDESCname

Please find the below link and let me know whether it is helpful or not.

https://developer.servicenow.com/dev.do#!/learn/learning-plans/xanadu/servicenow_administrator/app_s...

Thanks
SP.

poco
Tera Contributor

not like this i need   a selectable clock time

JenniferRah
Mega Sage

Unfortunately, there is not a "Time" variable available on Catalog Items. That is only available as a field on a table.