Detect that a threshold has been exceeded and create a trigger to perform a sequence of actions.

Before you begin

Role required: sn_app_insights.admin or admin

About this task

Application Insights uses the ServiceNow® Flow Designer to create the trigger and action. You can configure one flow per threshold. You can use any of the actions available in the Flow Designer and the spokes from Integration Hub. This example configures a trigger to send an email.

Procedure

  1. Navigate to All > Application Insights > Application Insights.
  2. Select Thresholds.
  3. Select an existing threshold from the Thresholds list.
  4. From the ellipses, select Create flow.
    The Flow Designer opens. The system automatically populates a base template with a trigger and three actions.

    Modify the base template to fit your needs.

    For more information about using the Flow Designer, see Flow Designer.
  5. Select Send Email.
  6. In the To, CC, and BCC lines, enter the email addresses that you want to send the notification to.
  7. In the Subject and Body fields, enter the text that you want.
  8. Select Done.
  9. Select Save.
  10. To activate the trigger, select Activate.
  11. To edit an existing trigger:
    1. Select Thresholds.
    2. From the Thresholds list, select an existing threshold.
    3. From the ellipses, select Edit flow.
    4. Change the settings.
    5. Select Save.