Setting rules above the map

Selecting the 'Edit Rules' option from the drop-down menu that opens by clicking on the' 'toolbar' button to select a file from the repository will open the 'Edit Rules' window to manage the rules above the folder we are currently in.

This window consists of a rule table, located to the left, and a toolbar located to the right of that table.

The table consists of the following columns:

  • 'Name' - The name of the script / rule
  • 'Description' - Script description
  • 'Inherited' - Whether the rule is inherited
  • 'Disabled' - Whether the rule is disabled
  • 'Poz.izvr.' - Whether the script is running in the background
  • 'Vrij.unut.' - Does the rule apply to all folders located within the selected folder

The toolbar consists of the following buttons: 'Enable / Disable', 'Edit', 'Delete', 'Add Script Rule' and 'Add Mail Rule'.

Clicking the 'Enable / Disable' button next to the previously marked rule within the table enables or disables the rule from running.

Clicking the 'Edit' button, next to the previously highlighted rule within the table, will open a window to modify the highlighted rule. Depending on whether it is a script rule or a mail rule, a corresponding window for editing the rule will open. The rules edit windows are the same as when entering a new rule and are described in the sub-sections 'Rule-script' and 'Rule-e-mail'.

Pressing the 'Delete' button deletes the previously marked rule on the map. Before deleting, a dialog box will open in which we can confirm the deletion of the rule by pressing the 'Yes' button or reject it by pressing the 'No' button.

Rule - script

Clicking the 'Add script rule' button on the toolbar of the folder rule management window will open the 'script rule' window, in which the rule above the folder is set.

This window consists of a form with the following fields:

  • 'Script task' - A drop-down menu in which it is possible to select one of the offered scripts from the drop-down menu.
  • 'File ends with' - A drop-down menu in which the file extension over which the script will be executed can be selected.
  • 'Rule name'
  • 'Disable rule' - Whether the rule is disabled. A check mark is placed inside the checkbox if the rule needs to be disabled.
  • 'Run rule in background' - Whether the script is running in the background. A check mark is placed inside the check box if background execution is selected.
  • 'Rule also applies to internal folders' - Whether the rule applies to all folders located within the selected folder. A check mark is placed inside the checkbox if the rule applies to all folders located within the selected folder.

In the lower left corner of the window there are two buttons - 'Save' and 'Cancel'. Clicking the 'Save' button sets the rule on the map, and clicking 'Cancel' closes the window without making any changes.

Rule - e-mail

Clicking the 'Add mail rule' button on the toolbar of the folder rule management window will open the 'Mail rule' window, in which the rule over the folder related to e-mails is set.

This window consists of a form with the following fields:

  • 'Email template' - a drop-down menu in which one of the email templates to be sent is selected
  • 'Email name' - the title that will be displayed when sending e-mails
  • 'Receive' - it is possible to select 'Group' (user groups) or 'User' (users).
  • 'Group' - Select a user group. This field will be displayed if 'Group' is selected under 'To'. Clicking on this field will open a window for selecting a group of users.
  • 'User' - Select a user. This field will be displayed if 'User' is selected under 'To'. Clicking on this field will open a user selection window.
  • 'Rule name'
  • 'Disable rule' - Whether the rule is disabled. A check mark is placed inside the checkbox if the rule needs to be disabled.
  • 'Run rule in background' - Whether the script is running in the background. A check mark is placed inside the check box if background execution is selected.
  • 'Rule also applies to internal folders' - The rule applies to all folders located within the selected folder. A check mark is placed inside the checkbox if the rule applies to all folders located within the selected folder.

In the lower left corner of the window there are two buttons - 'Save' and 'Cancel'. Clicking the 'Save' button sets the rule on the map, and clicking 'Cancel' closes the window without making any changes.