User Activity Monitor : Monitoring Settings : Rules : Creating rules : Dialog box for configuring a rule
  
Dialog box for configuring a rule
The dialog box for configuring a rule appears when the Add or Edit button is clicked in the dialog box for managing rules, and provides the ability to set, view, or change the following rule settings:
Name - Assigned when creating the rule, and it can be changed when editing the rule.
Description - Any additional information about the rule (for instance, the intended purpose of the rule).
Capture - DeviceLock Service records only the selected manifestations of the user activity:
Screen - When this check box is selected, the DeviceLock Service performs video recording of the user’s computer screen.
Keyboard Input - When this check box is selected, the DeviceLock Service records the sequence of keystrokes from the user’s computer keyboard.
Start capture when the following condition is true - Recording of user activity starts depending upon the condition specified in the rule. The condition is a logical expression composed of one or more triggering criteria united by logical operators. Each of the criteria evaluates to either true or false. The condition value is calculated of the current values of its criteria, and the DeviceLock Service can start recording user activity only if this condition evaluates to true.
Some criteria from the recording start condition are also used to determine when to stop recording. For details, see Ways to stop recording.
The dialog box provides a condition builder to add, change, or remove triggering criteria, to combine them by AND/OR, and to group by using brackets:
Use the buttons above the criteria list to add or remove criteria and to change the order of criteria in the list:
Add - Adds new criteria to the end of the list. To add criteria, click this button or double-click a blank area in the list.
Insert - Adds new criteria before the one selected in the list.
When adding criteria, first select its type, and then configure the criteria settings depending upon the selected type. For further details, see Setting up triggering criteria.
Edit - Allows one to change the setting of the criteria selected in the list, or to replace the criteria with a different one. To start editing criteria, click this button or double-click criteria in the list.
To edit criteria, a dialog box is used in which one can view/change the setting value of the selected criteria or choose another criteria to replace the criteria in the list. For further details, see Setting up triggering criteria.
Delete - Removes the selected criteria from the list. This also removes the logical operators and brackets listed next to that criteria.
^, v (up and down arrows) - Move the selected criteria up and down in the list.
Note that moving criteria up and down in the list may break the logical structure of the expression. Click the Validate button to check the syntax of the expression and display the resulting expression in the Result box.
Select the check box in the NOT column to reverse the criteria value.
Click in the column titled with a bracket ( or ) to add one or more brackets.
Brackets are used to avoid ambiguity of expressions composed of multiple criteria. For example, the expression A AND B OR C could mean (A AND B) OR C, or it could mean A AND (B OR C). Use brackets to accurately determine the order and intention in which expressions are calculated.
 
Note: When moving an entry to the place of an adjacent one in the criteria list, the NOT check box setting moves together with the entry if the number of opening brackets is less than or equal to that of closing ones both in the moved entry and in the entry to which place it is moved. If at least one of them has more opening brackets than closing ones, the NOT check box setting does not move to the adjacent entry. Such a solution helps preserve the logical structure of the expression when the order of the list entries changes.
Click in the AND/OR column to select the desired operator to combine the criteria into a logical expression. By default, AND is selected, so the recording starts when all the specified triggering criteria are met. Select OR if you want the recording to start when at least one of these criteria is met.
Validate - Checks the logical structure of the expression, removes unnecessary brackets if any, and displays the resulting expression in the Result box.
Clear - Removes all the triggering criteria from the condition, except the default one.
 
Note: The recording start condition always contains the default criterion User logged in, which causes recording to start only if the user to whom the rule applies is logged on. This ensures that the actions of the logged-on user are recorded in accordance with the current rules for monitoring user activity.
Force stop capture in <number> seconds - When this check box is selected, recording starts when the recording start condition is met, and then, after the specified number of seconds, it stops. If the recording start condition is still met, the recording starts again unless the following check box is selected:
Do not run this rule again until its condition changes - When this check box is selected, recording does not restart after being forced to stop by time even if the recording start condition is still met. In this case, recording restarts only after that condition will cease to be met and then occur to be met again. To clarify this behavior, let’s suppose that recording starts when a certain process gets running in the operating system, and then, after some time, recording is forcibly stopped. To restart recording in this case, one would need to stop that process and then start it again.
More on these two settings see in Ways to stop recording.
Timeout between screenshots: <number> seconds - Determines the frequency of screen shots in the video. Having taken a screen shot, the DeviceLock Service waits the specified number of seconds before taking the next shot to decrease the odds of video frames with exactly the same contents.
The last specified value of this setting is used as the convenient default value when creating new rules. Suppose, for example, a value of 3 had been set for a certain rule. After that, the value of 3 will be used by default in all newly created rules until another value is set in some rule.
 
Note: This setting requires the Capture > Screen check box to be selected. Otherwise, this setting is unavailable (grayed out), and has no effect on recording.