Time Worked field on case form

Appy2
Tera Contributor

Hi Team,

 

On case form there is a time worked field which calculates time automatically when users open the case form,but our requirement is to make this functionality manual so that means we have to create a button and once user click on this button then only time field should get on.

If any idea kindly share.

Appy2_0-1683278598750.png

 

1 ACCEPTED SOLUTION

Slava Savitsky
Giga Sage

You can set glide.ui.timer.started system property to false in order to prevent the timer from starting automatically when the form loads. Note, however, that this is a global setting that impacts all form views where a Time Worked field is present and all users.

View solution in original post

4 REPLIES 4

Slava Savitsky
Giga Sage

You can set glide.ui.timer.started system property to false in order to prevent the timer from starting automatically when the form loads. Note, however, that this is a global setting that impacts all form views where a Time Worked field is present and all users.

Thanks for heads up

Ok.but can we then make it manual then? so once user clicks on the button(custom button) then it should start the timer?

Sure. If you set the system property to false, the system will automatically show a button for starting and pausing the timer.

 

SlavaSavitsky_0-1683283250553.png

 

If we set glide.ui.timer.started system property to false in order to prevent the timer from starting automatically when the form loads. And we want to automate the time_worked field - When assigned to field on sc_task is not empty the timer should start and when state is closed complete it should calculate the total time worked on the task .Also when state is pending the timer should be on hold. Is this possible?