Rule Example: How to get notified when an employee is idle or unproductive?

Option 1: By Using an Anomaly Rule (On-Premise Deployment Only)

You can detect employee ideal rate and productivity rate by creating an anomaly rule and get notified if they increase or drop. To create such an anomaly rule, do the following:

  1. Click BEHAVIOR > Anomaly rule. Click the mceclip0__4_.png button near the top right corner of the screen. This will pop-up a small window. Choose CREATE NEW RULE icon from this window. This will open the anomaly rule editor:


  1. Enter a name for the rule under the RULE NAME field.
  2. Click in the APPLIES TO field and select the users the rule will apply to.
  3. Click the WHAT TRIGGERS THE RULE drop-down menu and select either Activity: Productivity or Activity: Idle rate depending on what you want to measure.
  4. Click the the first field under CONDITIONS and select a parameter. If you choose Productivity or Rate, you can measure the percentage of productivity or idle time for the selected user(s). If you use the Anomaly baseline option, then Teramind will use an algorithm to determine if the users' productivity or idle rate is outside a baseline. This can be the user’s current behavior compared to their past behavior; an employee’s behavior compared to their departmental baseline; or an employee’s behavior compared to the baseline of the entire organization. One you have selected the the parameter value for first field, you will be able to then choose values to compare in the 2nd and 3rd fields.
  5. Set a risk level by clicking the RISK bar.
  6. You can turn the ACCUMULATES RISK option on/off. This will determine whether the rule should be counted multiple times per day on multiple violations
  7. Click the NOTIFY field and select the users who will be notified when this rule is triggered.
  8. Click the SAVE AND LAUNCH RULE to finish editing the rule and launch it.

Option 2: By Using an Agent Schedule Rule

You can create a Agent Scheduled rule to detect idle time. To do so:

  1. Click the BEHAVIOR > Policies. This will open the Behavior Policies screen:


  1. Click the ADD RULE FOR THIS POLICY button under a policy where you want to add this rule. This will open the Rule Editor:


  1. On the left side of the screen, click the General tab.
  2. Give the rule a name.
  3. Select Agent schedule from the Rule Category section.
  4. Click the CONTINUE This will take you to the User tab:


  1. Enter users/departments in the APPLY RULE TO field.
  2. Optionally, you can exclude select users by selecting them in the EXCLUDE FROM RULE. For example, if you want to apply the rule to a department except for a few users, this option would be handy.
  3. Optionally, you can turn on the INHERIT POLICY SETTINGS. This will use the user settings from the policy itself. Check out the Policies section on the User Guide to learn more about policies.
  4. Click the CONTINUE button. This will take you to the Schedule tab:


  1. From the SELECT TYPE OF SCHEDULE VIOLATION menu, select the Idle option.
  2. In the DEFINE THE TIME RANGE field, specify the idle time in minutes.
  3. Optionally you can set off-hours/breaks under SETUP OFF-HOURS. Click the small - or + buttons and then drag the sliders to set up off-hours. The rule will not be applied during these off-hours.
  4. Click the CONTINUE button. This will take you to the Actions tab:


  1. Select an action and specify the action parameters. For example, you can use the NOTIFY action to alert the HR personnel about the user’s idle time. Check out the Actions Tab – Responding to Rule Violation Incidents section on the User Guide to learn more about rule actions.
  2. Click the SAVE & LAUNCH RULE button.
Was this article helpful?
2 out of 2 found this helpful