How to start timer field with BR, CS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-02-2022 03:31 PM
hello experts
I have a customer requirement.
To create a timer field that start counting time when state = "Active".
I already have the field, but it starts automatically, what I need is for it to start when I change to the ="Active" state
but when the form loads it starts the timer, but I want that starts with the conditions state="active"
I have changed the UI property so that it doesn't start when to load form, but I can't how to make it start with the condition.
I hope you can help me
- Labels:
-
Incident Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-03-2022 01:11 AM
Hi Eddy,
You can do this with a business rule running on update/insert of the record.
Add a condition on the business rule such as - State changes to Active
and then start your timer
Please mark my answer as Correct/Helpful based on impact
Regards,
Dan H
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-03-2022 08:37 AM
Hi Dan,
this option was review but in the field not exists the value "start" when is selected in the actions tab.
or your proposal is in the script, if is it, please shared the script for to start timer.
Regards

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-03-2022 08:43 AM
Sure, please share details about your timer field.
Type, name, any script already running on this to make it work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-03-2022 09:03 AM
Hi Eddy,
I just wanted to mention, is the requirement specifically to use a timer field - or is is to track the time of something specific such as how long the incident was active?
Or in other words; Do you need a timer field for a user to track time from the client side, or do you need to measure time between state/field changes from the server side?
Otherwise if it is the later then maybe you could consider looking into Metric definitions or SLAs. 🙂
If on the client side then it would the 'Time Worked' field, which is typically used to for users/agents to track their time spent on the particular record.
I'm not sure if there is a way to start and stop the Time Worked field from a client script, but the following very old post may be helpful.