Time worked field on Incident form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2023 12:04 PM
Hi Developers,
How are Time Worked entries created in the 'Time Worked' related list? I have understood the process of when these records are generated, but I would like to know the mechanism behind their creation. Are there any business rules, workflows, or specific configurations involved?"
Below is the screenshot please refer it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2023 08:54 PM
Hi @asrsharma07
'Time Worked' is an entry created in the sys_relationship table,
Navigate to the below path
All->System Definition -> Relationships and search with Name Time worked to know the logic.
The timer is calculated based on the following business rule: "Update task timer" which runs on task_time_worked table.
Thanks,
Gangadhar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2023 09:19 PM
Hello @asrsharma07 ,
Time worked is an entry in task_time_worked table.
The values are calculated based on the Update task timer business rule, which uses TaskTimer script include.
TaskTimer script include extends TaskTimerSNC script include. You can find the logic in TaskTimerSNC script include.
Please mark my answer correct & helpful, if it helps you
Thank you.
Thank you
G Ramana Murthy
ServiceNow Developer