Map an insight rule to an existing business rule

  • Release version: Yokohama
  • Updated January 30, 2025
  • 1 minute to read
  • Map an insight rule to an existing business rule to define the type of insight trigger. This insight trigger activates the associated insight rule to run.

    Before you begin

    This task must be performed in the classic environment.

    Create an insight rule. For more information, see Create an insight rule.

    Role required: sn_ac.automation_technical_user or sn_ac.automation_admin

    About this task

    When an insight rule is processed, it generates an insight. Insights appear on the Insights widget in the Executions dashboard of Automation Center Workspace.

    An insight trigger activates the associated insight rule to run.

    An insight rule does not run unless it is mapped to an insight trigger.

    Procedure

    1. Navigate to All > Automation Center > Administration > Insight Rules.
    2. Open the insight rule that you want to create and associate an insight trigger to.
    3. On the Automation Insight Triggers tab, select New.
    4. Select Map to an existing business rule.
    5. On the form, fill in the fields.
      Table 1. Automation CRUD Trigger form
      Field Description
      Name Name of the insight trigger.
      Active Option for ensuring the use of the insight trigger.
      Business rule Applicable business rule that is required to trigger the insight rule.

      The mapped business rule script field must contain the new sn_ac.ACInsightTriggerUtil(current, previous).raiseInsightByBR(<Business Rule SysId>); API to trigger the insight rule.

      Application Application that is associated with the insight trigger.
      Automation insight rule Associated automation insight rule.
    6. Select Submit.