Task Time Worked values Sum Up for RITM and CASE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2023 07:27 AM
Hi All,
The time_in_second field stores values in seconds, it records the time a user has worked on. I want to add all the time a user has worked on CASE and the RITM related to this case. As per the image attached, every time a user updates the RITM or CASE form a new record is created with the time a user worked on it. How can I add all the time a user worked on both RITM and CASE?
I can add time for one single module like either CASE or RITM but not both. Please help me with the script.
TIA!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2023 07:42 AM
Hi
My personal input would be not to do it the way you want to do it.
instead, i'd create whole seperate field and have a business rule specifically for it
in any case, if you want to try and change the built-in:
sys_property: com.snc.time_worked.update_task_timer
Business Rule: update_task_timer
you could revamp the script and make it add child time worked to parent.
again, I wouldn't advise myself that solution