We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Get Total Waiting Time of a request

Accepted answer
29
Views
6
Comments
edited May 7, 2019 11:07AM in Reporting & Analytics for B2C Service 6 comments

Summary

Get Total Waiting Time of a request for SLA calculation

Content

Hi, 

Need help calculating the Total Waiting Time of a Request for SLA calculation.

Total Waiting Time = The total time in which the request is in Waiting status state.

I am trying to do it using inc_performance table using the formula - sum(if(inc_performance.intv_type = 4,inc_performance.rel_time)) - sum(if(inc_performance.intv_type =16,inc_performance.rel_time))

But this doesn't give the correct results in some complicated business workflows like, various status changes (when the request status is set solved more than one time). 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!