Add a rule

When you create rules, you are guided by the wizard Manage Rule which only lists relevant options.

It ensures that a rule does not contain missing elements. Based on your rule's content, it automatically suggests suitable stop actions, that is what should take place when the rule no longer applies, ensuring that you do not unintentionally create a never-ending rule.

  1. Right-click the Rules item > Add Rule. This opens the Manage Rule wizard. The wizard guides you through specifying the content of your rule.
  2. Specifying a name and a description of the new rule in the Name and Description fields respectively.
  3. Select the relevant type of condition for the rule: either a rule which performs one or more actions when a particular event occurs, or a rule which performs one or more actions when you enter a specific period of time.
  4. Click Next to go to the wizard's second step. On the wizard's second step, define further conditions for the rule.
  5. Select one or more conditions, for example Day of week is <day>:

    Depending on your selections, edit the rule description in the lower part of the wizard window:

    Click the underlined items in bold italics to specify their exact content. For example, clicking the days link in our example lets you select one or more days of the week on which the rule should apply.

  6. Having specified your exact conditions, click Next to move to the next step of the wizard and select which actions the rule should cover. Depending on the content and complexity of your rule, you may need to define more steps, such as stop events and stop actions. For example, if a rule specifies that a device should perform a particular action during a time interval (for example, Thursday between 08.00 and 10.30), the wizard may ask you to specify what should happen when that time interval ends.
  7. Your rule is by default active once you have created it if the rule's conditions are met. If you do not want the rule to be active straight away, clear the Active check box.
  8. Click Finish.

© 2018 Milestone Systems A/S