---
sourceDocument: Australia ServiceNow AI Platform Capabilities
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/de-DE/servicenow-platform

 Release :

    - australia

ft:locale :

    - de-DE

ft:publication_title :

    - Australia ServiceNow AI Platform Capabilities

ft:clusterId :

    - platcap

bundleId :

    - platcap

workflow :

    - Platform


---

# Create a gap trigger

# Create a MetricBase gap
trigger {#ariaid-title1}

* Freigeben Version: Australia
* 
* Aktualisiert 12. März 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 3 Minuten Lesedauer

Create a MetricBase gap trigger to alert you when MetricBase stops receiving data.{#create-metricbase-gap-trigger__mb-gap-trigger-sd}

## Vorbereitungen

Role required: admin

## Warum und wann dieser Vorgang ausgeführt wird

Gap triggers execute when MetricBase stops receiving
data for a specified period.  
Abbildung : 1. Gap trigger executes on missing data  
You can define multiple trigger levels to indicate different severities. For example, you can set a gap of 10 minutes as level 1, a gap of 20 minutes as level 2, and so on. Each level should trigger a different Workflow Studio flow. The difference between gap durations on different levels must be at least 10 minutes. For example, if you set level 1 to a gap of 10 minutes, you must set level 2 to a gap of 20 minutes or more.  
Hinweis:  
If you make the gap durations between levels less than 10 minutes, MetricBase displays an error message and deletes the level that you added.

Polling frequency is calculated using the difference between gap durations on
different levels and dividing by 2 (rounded down). For example, given the
following:

* Level 1 triggers after 5 minutes of missing data
* Level 2 triggers after 30 minutes of missing data

{#create-metricbase-gap-trigger__ul_nwl_4lz_ztb}

The polling frequency is 12 minutes, because Floor((30-5)/2) = 12 minutes.

The maximum polling frequency is every 5 minutes, and the minimum frequency is every
30 minutes. If a trigger has only one level, the polling frequency is 30
minutes.

MetricBase searches through the data that is stored in the MetricBase database, not through incoming data. Therefore, a gap
trigger might execute after the gap when data is missing. For example, if MetricBase polls every 10 minutes and the gap is 30 minutes of
missing data, the trigger might execute as late as 40 minutes after the data was
last received.

## Prozedur

1. Navigate to AllMetricBaseWorkflow StudioTrigger Definitions.
2. Select New.
3. On the MetricBase Trigger Creation form, select the Gap Trigger option.
4. On the form, fill in the fields.  
   The trigger levels are not initially visible on this form. You configure the levels later.{#create-metricbase-gap-trigger__table_khd_cjn_pbb__entry__2}

   | Field | Description |
   |-|-|
   | Name | Name of the trigger. |
   | Table name | Table in the MetricBase database that contains the metric that you want to monitor. The only tables that appear when you click the search icon are the tables that you specified in the time-series metrics. If you select a metric before you select a table, only tables that have that metric appear in the Table name dialog box. |
   | Active | Option to activate the trigger. |
   | Metric | Table metric that you want to monitor that is specified by the Table name. The only metrics that appear when you click the search icon are the metrics in that table. If you select a metric before you specify a Table name, the metrics in all your time-series metrics appear. After you select a metric, only the tables that contain that metric appear when you click the search icon that is next to the Table name. |
   | Description | Description of the trigger. |
   [Tabelle : 1. MetricBase Gap Trigger form]

   {#create-metricbase-gap-trigger__table_khd_cjn_pbb}
5. Select Save.  
   A new record is created.
6. In the MetricBase Gap Trigger Levels area on the record you just created, double-click each cell to add values that specify trigger parameters.  
   {#create-metricbase-gap-trigger__table_khd_cjn_pbba__entry__2}

   | Field | Description |
   |-|-|
   | Level | Numbers that indicate increasing severity. For example, you might define level 1 to be no data for 10 minutes. Level 2 might be no data for 20 minutes. Each level should trigger a different flow. Level is often used in Condition Scripts. See [Execute triggers conditionally](https://servicenow-prod.fluidtopics.net/WizCHhWwLl0KkDjJVFqIxw "MetricBase triggers execute based on a single metric. Condition Scripts impose additional requirements that determine whether a trigger kicks off a flow."). |
   | Function | Function, Greater than or is, which means that this trigger executes when the gap in received data is greater than the value that you specify in the Window field. There is only one option for the function, and it cannot be left empty or MetricBase displays an error message. |
   | Window | Length of time that no data has been received that executes the trigger. The format is hours:minutes:seconds. For example, 00:20:00 means that this trigger executes after 20 minutes of missing data. |
   [ ]

   {#create-metricbase-gap-trigger__table_khd_cjn_pbba}
7. **Wahlweise:** Add rows to the table to create multi-layered triggering behavior.  
   Typically, each additional row (level) indicates a more severe condition. The Workflow Studio flow associated with the level should warn with increasing severity.
8. Select Update.
9. **Wahlweise:** Add a triggering condition that determines whether a trigger executes a Workflow Studio flow.  
   See [Execute triggers conditionally](https://servicenow-prod.fluidtopics.net/WizCHhWwLl0KkDjJVFqIxw "MetricBase triggers execute based on a single metric. Condition Scripts impose additional requirements that determine whether a trigger kicks off a flow.").

## Gap Trigger form {#create-metricbase-gap-trigger__example_svd_vxx_ytb}

## Nächste Maßnahme

Associate this trigger with a Workflow Studio flow. For more information, see [Assign a trigger to a flow](https://servicenow-prod.fluidtopics.net/vsq69MLtx2Gtg1FT3WVbow "Now that you created a trigger, use Workflow Studio to specify the flow a trigger executes. The flows can provide alerts for unexpected behavior.").

