- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-15-2016 10:40 PM
Hello,
I am trying to calculate the time an incident is in a particular state. I have added a timer field to the incident record. The timer should start running if the state of incident is either 'awaiting evidence' or 'awaiting user info' and should be paused if it's neither of the formerly mentioned states. My idea is to do this using a business rule, but I have no idea of how to start or pause a timer field through a script.
How do I achieve this?
Thanks in Advance,
Harsha
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-15-2016 10:49 PM
Hi,
You can have a metric definition it will give you for how many time it was in one of the state.
See Metric definition, there are some OOB definitions available for this purpose

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-15-2016 10:44 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-15-2016 10:51 PM
Pradeep,
I don't want the 'play/pause' button. I want to simulate the clicking of button through a script.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-15-2016 10:49 PM
Hi,
You can have a metric definition it will give you for how many time it was in one of the state.
See Metric definition, there are some OOB definitions available for this purpose

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-15-2016 10:52 PM