Creating a Scheduled Rule

A scheduled Rule is a type of Rule that will execute a desired Task at a scheduled time. By default, these Rules will execute every day at the scheduled time. An additional schedule configuration can enable the Rule to run on only certain days of the week or certain days in a year. An example of how this Rule can be useful is when you would like a single email each day that contains the reading of a sensor. A scheduled Rule can be used to execute and deliver the sensor reading to your email at the same time on your scheduled days.

Consider System Actions with Scheduled Time Rules

Scheduled Time Rules trigger based on a configured schedule. As such, the Rule isn’t automatically Disarmed/Rearmed.

You will need to either manually Disarm/Rearm the Rule each time it is triggered, or you need to add a System Action to Disarm/Rearm the Rule after each time it is activated. Follow the steps below to create the Rule.

Creating the Rule

  • Login and Select Rules on the left hand pane.
  • Select Create New Rule.

  • In the Choose the Rule Type dropdown menu, Select Scheduled Time.

  • In the Schedule for field, enter the time at which you wish the Rule to trigger, or Use an Existing Rule.
In this example, 6 pm is selected.
  • Click the Save button.

Note: Scheduled Rules require a trigger device. This means you will need to return to the Conditions in a later step and select a trigger device in order for the Rule to trigger.

  • In the Set Up Tasks step, select Send Alert.

  • Select the recipients and in how to notify the Users via Email, text, voice call, or push notification. On the right hand side, adjust the Message Preview to indicate what will appear in the text body of the notification. When finished with this step, click Save.
  • Add the System Action by selecting the Create System Action button (this is what will enable the Rule to run on the next scheduled day; without this, the Rule will only execute again after the User manually Rearms the Rule).
    • Select Full Reset for the Select Type of Action dropdown.
    • Set the Target Rule to {Target Self} to reset the current Rule.
    • Set the Delay to 2 Minute Delay (to ensure the logic is executed in a time-considerate manner, a delay should be applied to the System Action).
    • Click the Add button.
  • Select Done Adding Tasks.
  • Name the Rule and click Save.
  • At this point, you must return to the Conditions to add a trigger device. Select Add Additional Devices to [Rule Name].

  • Select a trigger device; be sure the check icon turns green.
  • Select Save.

At this point, the Rule has been created and will trigger every day at the configured time.

Apply a Weekly, Monthly, or Custom Date Schedule

In some cases, you may want to engage the Rule only at specific times on specific days of the week or dates of the year. You can apply an additional level of scheduling using the Schedule tab of the Rule configuration. This can be accessed after the Rule is created. You can go into the Rule, select the Schedule tab (calendar icon), and edit the schedule accordingly.

Weekly Schedule:

Weekly Schedule

Date schedule:

Note:

  • The All button selects all days, and the Clear button deselects all days.
  • Click on the Month to select/deselect all days in that month at once.
  • You can click and drag the mouse to select multiples of dates instead of clicking each individual day.
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.