- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-03-2017 01:56 AM
I want to create a timer field same as Time Worked on Task. but i could not find such variable name under type.
Help me to create a timer field. Thanks in Advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-03-2017 02:15 AM
Timer field is invisible in OOB configuration, i.e. no new fields can be created as a timer field. Check Field Classes (sys_glide_object) table to verify that.
But you can make it visible by running a Background script:
var gr = new GlideRecord("sys_glide_object");
gr.addQuery("name", "timer");
gr.query();
if (gr.next()) {
gs.log("found");
gr.visible = true;
gr.update();
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-03-2017 02:15 AM
Timer field is invisible in OOB configuration, i.e. no new fields can be created as a timer field. Check Field Classes (sys_glide_object) table to verify that.
But you can make it visible by running a Background script:
var gr = new GlideRecord("sys_glide_object");
gr.addQuery("name", "timer");
gr.query();
if (gr.next()) {
gs.log("found");
gr.visible = true;
gr.update();
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-03-2017 02:41 AM
Thank you Anurag.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-21-2022 02:21 AM
Hi Anurag,
Thank you for helping me out, I don't know why such beautiful feature is kept hidden in SNOW.
Thanking You
Rachit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-23-2023 09:43 AM
I tried to use same field type on custom table.When I am loading page timer is getting reset to 00:00:00 but not showing the actual time.How to achieve this? Any updates will be helpful.