- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-28-2017 02:07 AM
Hi,
I have a client script to set time worked field as read-only if the ticket is created more than a month ago. I already set it to read-only and make hidden the pause/play button but as we have a setting to Start timers automatically and mine is set to true, the time worked still ticking. May I know if there's a way to pause or stop this time? Many thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-04-2017 06:13 AM
Hi All,
I see there is now way to Pause the automatic timers so what I did is I created a business rule and set my conditions as follows:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-28-2017 02:54 AM
Hello Diane,
"glide.ui.timer.started" is property which you can find in sys_properties or you can navigate to sys_properties.list and search for "glide.ui.timer.started" and make the "Value" as false.
Thanks,
Surya Amara
PS: Hit like, Helpful or Correct depending on the impact of the response
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-28-2017 02:22 AM
Hi Diane,
Please find the useful links below. I hope these are enough to guide you to achieve your requirement.
1. Toggle Timer Field by Field Name - ServiceNow Wiki
2. https://www.servicenowguru.com/scripting/client-scripts-scripting/pausetoggle-time-worked-field/
3. need a way to stop time worked on new records
4. How do I "Stop" Time Worked when task is closed?
I hope this helps.Please mark correct/helpful based on impact
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-28-2017 02:51 AM
Hi Amlan,
Thank you for your response. However, I still have no idea what will be the code for stopping the timer plain and simple.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-04-2017 06:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-20-2018 07:59 AM
Did anyone run across a way to have this timer always start at 0 instead of the cumulative time?