Create a flow with a MetricBase trigger
On this page
Create a flow with a MetricBase trigger
Start a flow when a MetricBase trigger is met. MetricBase triggers track time series data and can monitor when a threshold is reached, when a trend is detected, or when a system stops reporting data.
Before you begin
Role required: flow_designer or admin
MetricBase triggers are not available on the base system. The MetricBase application requires a separate subscription and must be activated by ServiceNow personnel.
Procedure
-
Navigate to All > Process Automation > Flow Designer.
-
Click + New > New Flow.
-
Define the flow properties.
For more information, see Create a flow in Workflow Studio.
-
In the Trigger section, add a trigger and select MetricBase.
-
Complete the trigger fields.
Field Description MetricBase Trigger Select or create a MetricBase trigger record to start the flow. For types of MetricBase triggers, see MetricBase triggers. Table Read-only table that contains the metric. Condition Click Add filters to set field-based conditions that determine when the flow runs. Condition Script Define a script in the Additional MetricBase Trigger Filtering and Moderation table to prevent duplicate metric events from re-triggering a flow. For example, if a metric hovers at a defined trigger threshold, create a script that defines whether to run the flow once when the metric is met, or every time the triggering threshold is exceeded. -
Add actions, subflows, and flow logic to the flow.
-
Test the flow.
-
Once the flow is behaving as desired, activate the flow.
For more information, see Test a flow and Activate a flow.
Result
The MetricBase application monitors time series data on the ServiceNow AI Platform. When the selected trigger is met, the flow runs.
Parent Topic:Create a flow in Workflow Studio
Keep exploring.
Find another answer, or bring this documentation into your own tools.