claculation of difference of two date/time filed and store it another date time field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2024 01:35 AM
Hello All,
I have one requirement to store the time when the state puts onhold. Then need to capture the time when the state changes from onhold to any other state. Then need to store the difference value of when incident put onhold and the time when incident changes from onhold to inprogress or reoslved.
Can nayone please help me how to acheive.
Three fields:
1st-Onhold start time
2nd-Onhold end time
3rd:Total time
how to acheive this one.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2024 02:12 AM
@Mansi roy use SLA metrics. Configure an SLA definition to track the time spent in the "On Hold" state, and then use Business Rules to update custom fields with the SLA metrics.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2024 03:39 AM
Hello @Satishkumar B ,
Thanks for your reply.
I have three types field.
Here the total duration is not giving the correct result. I have written the below before business rule script.