Showing chat duration in minutes

hidzirf
Tera Expert

Hello Everyone,

 

I have a requirement to display the duration of chat interactions grouped into specific time ranges. For example, I want to show how many interactions fall within 0–20 minutes, 20–40 minutes, and more than 40 minutes. I'm planning to visualize this using the Workbench > Process widget.

I've created bucket groups called Chat Duration Ranges, and set up the breakdown source and breakdown mapping accordingly. I also used a script to convert the duration into minutes. However, when I run the job, it returns an error due to invalid JavaScript.

I would appreciate it if any experts here could provide guidance on how to resolve this issue. Attached are the relevant screenshots of the error and the indicator configurations.
Thank you

0 REPLIES 0