Creating a Rule

Before you begin

Sign in to the SOTI Connect web console as an administrator with "Modify Rules" permission.

About this task

You can manage devices through a set of rules that perform predefined actions at a specified time or in response to an event.

Procedure

  1. Navigate to Main Menu > Rules.
  2. Select the New Rule icon on the top-right. The Add New Rule window appears.
  3. In the Select Rule tab, enter the name and description for the rule. Select Next to proceed with selecting your device(s).
    select a rule type
    Note: When selecting "Perform device actions based on state changes or persistences (individual devices)" as the rule type, the optional transition rule flag "Execute only Transition logic" appears. This flag causes a rule to execute only once, when the rule condition first becomes true. This option is useful because it prevents a rule from firing too often.
    For example, the following rule sends an email whenever the battery charge level is less than 10.
    IF printer.battery < 10 THEN sendEmail

    If the charge drops from 10 to 9, then 8, etc., down to 0, and then is charged back to 10, the rule results in 20 emails. The "Execute only Transition logic" option causes the action to execute only when the condition first becomes true (when the charge goes from 10 to 9). The rule does not result in further emails until the condition becomes false and then true again (until the charge climbs back to 10 and then back down to 9).

    Note: Disabling "Execute only Transition logic" (enabled by default)may result in rules firing infinitely and may require deactivation, modification, or deletion to stop firing.
  4. In the Select Items tab, choose your devices(s). See Selecting Devices for more details.
  5. In the Setup tab, configure the required parameters according to the rule type.
  6. Choose one of the following rule action types:
    • Execute in parallel
    • Execute sequentially
  7. Optional: For Execute Sequentially action type, configure the reaction type for a failed action. Choose from:
    • Interrupt
    • Continue
    • Go to action
    • Retry
  8. Select Finish to complete rule creation.

Results

You have created a new rule.

What to do next

You can edit a rule (see Editing a Rule) or delete a rule (Deleting a Rule).