Skip to main content
Question

Anyone can help how we can calculate idle time KPI in the task mining (workforce productivity) template? we need to show Idle time as a KPI just like active time

  • April 17, 2024
  • 1 reply
  • 12 views

Forum|alt.badge.img+7

As of now, task mining is showing active time but we have a requirement to show Idle time KPI next to active time.

 

Where exactly it is storing the idle time.

1 reply

Forum|alt.badge.img+6

Hello, try:

sum( case when tm_labeled_data.timedelta > ${threshold_idle} then tm_labeled_data.timedelta else 0 end)

Use this code and replace the name of the variable for the threshold for the idle time. You can check it in the settings page of your environment!