Skip to main content

Time Filter Action

Available for event and incident workflows

This action filters events or incidents according to the time or day of the week. Based on whether the events or incidents match the given filter, you can then decide whether to proceed to the next action or skip to the next workflow.

This action takes the following inputs:

  • Filter By: The event or incident field to use for filtering. Set to "Created At" by default.

  • Time Range

    The time range to filter by. Select a start and end time. Optionally, select days of the week to include in your time range.


    To ensure that the filter applies across all time zones, enter the time range in Coordinated Universal Time (UTC).

  • Exit Option

    If the event does not match the filter, either skip to the next workflow, or drop the event.

Event example

Suppose you have a set of nodes that run a set of automated maintenance jobs on Sundays between 12:00 AM and 1:00 AM. You want to specify an event workflow that sets the class field to maintenance if an event arrives from any of these nodes during this window.

To do this, create an event workflow with three actions: a Trigger, a Time Filter, and a Template Field action.

  1. The Trigger filters on the nodes of interest:

    source in (infraManager00, infraManager01, infraManager02)

  2. The Time Filter specifies the maintenance time window:

    Time Range = 12:00 AM → 01:00 AM

    Day = Sunday

  3. The Template Field action updates the class field if the event matches the source and time filters:

    Template = maintenance

    Output Field = Class

If there are active Situations impacting the service, then "Impacted for" displays instead.

Incident example

Suppose that you want to assign all new incidents generated from 8:00AM to 11:00AM on Mondays and Tuesdays to a certain team. You can accomplish this by creating an incident workflow with three actions: a Trigger, a Time Filter action, and an Assign action.

After setting the Trigger to initiate the workflow on "Create only," you can configure the Time Filter action as follows:

  • Filter By

    • Created at

  • Time Range

    • Start: 8:00AM

    • End: 11:00AM

    • Day: Monday, Tuesday

  • Exit Option

    • Stop processing

This makes it so that the workflow will stop processing an incident if it was created outside the time range of 8:00AM - 11:00AM on either Mondays or Tuesdays.

Finally, you can use the Assign action to assign the incident to the desired team.