Stop Time worked field from automatically starting in Workspace (SOW)

John Helebrant
Tera Contributor

I've read plenty of old posts where you can stop the Time worked field from automatically starting on forms via the 'glide.ui.timer.started' system property. However, this does not appear to function on Workspaces. I'm curious if there's a way to open the workspace form such as Incident where the Time worked field is paused. Thanks!

1 ACCEPTED SOLUTION

the only trick i think could be - hide time_worked via ui policy and than show it when some updates done to the form or have custom button ("report time") when clicked, to display field on the form and automatically start the timer

 

 

View solution in original post

4 REPLIES 4

Arpita Patil2
Tera Contributor

Hello @John Helebrant

You can try adding the 'Time worked' field to Workspace View and update the following system properties:

  1. glide.ui.timer.started - Set it to true
  2. com.snc.time_worked.update_task_timer - Set it to true

If the above solution resolve your issue, Please mark the solution as Accepted Solution and also mark it as Helpful.

 

Thank You. 

Arpita

The steps you're suggesting is to automatically start the timer--not stop it. I need to stop the timer. And as mentioned above, those properties do not work on Workspace.

the only trick i think could be - hide time_worked via ui policy and than show it when some updates done to the form or have custom button ("report time") when clicked, to display field on the form and automatically start the timer

 

 

Wow! That seems to do the trick. I added a checkbox called 'Record time' and when I click it, I have the 'Time worked' field show up. It then starts ticking from that point. Thanks for the great suggestion! It's also very easy to implement!