Rule - Action Mapping form

  • Release version: Washingtondc
  • Updated March 28, 2025
  • 3 minutes to read
  • Summarize
    Summarized using AI
    This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.

    Summary of Rule - Action Mapping form

    The Rule - Action Mapping form is essential for managing the relationship between AI Search result improvement rules and boost actions in ServiceNow. It enables you to effectively link boost actions to specific result improvement rules to enhance search relevancy.

    Show full answer Show less

    Key Features

    • Label: Unique identifier for the boost action.
    • Type: Automatically set to 'Boost Action'.
    • Application: Automatically reflects the current application scope.
    • Order: Determines evaluation sequence for boost actions.
    • Boost Type: Specifies the type of boost applied to search results, including:
      • Boost All Documents In Indexed Source: Applies to all results.
      • Boost By User Context (dynamic): Applies based on user context.
      • Boost By Field Match (static): Applies based on a static field value.
    • Indexed Source: Links to a specific indexed source for the boost action.
    • Boost Weight: Integer value influencing relevancy scores, with positive weights increasing and negative weights decreasing scores.

    Key Outcomes

    By utilizing the Rule - Action Mapping form, ServiceNow customers can fine-tune search results, increase relevancy based on user context, and apply specific boosts to search results. This ultimately leads to improved user experience and more accurate search outcomes, helping users quickly find relevant information. Understanding the boost weight calculations allows for precise adjustments based on organizational needs.

    The Rule - Action Mapping form contains information about relationships between AI Search result improvement rules and boost actions. Use this form when linking boost actions to result improvement rules.

    For information on configuring boost actions in result improvement rules, see Boost search results using a result improvement rule.

    Table 1. Rule - Action Mapping form
    Field Description
    Label Unique label for the boost action.
    Type Action type. This field is automatically set to Boost Action.
    Application Application scope for the boost action. This field is automatically set to the name of the current application.
    Order Order of evaluation for the boost action in the context of the result improvement rule.
    Boost Action
    Boost Type

    Type of boost the action applies to search results from the selected indexed source.

    Supported types include:
    • Boost All Documents In Indexed Source: Applies relevancy boost to every search result from the indexed source.
    • Boost By User Context (dynamic): Applies relevancy boost to search results from the indexed source if they include a value for the selected field that matches a field value specified in the dynamically populated user context.
    • Boost By Field Match (static): Applies relevancy boost to search results from the indexed source if they include a value for the selected field that matches a specified static value.
    Indexed Source Reference to an indexed source. The boost action only applies to search results for records from this indexed source.
    Boost Weight Integer value that AI Search uses to alter the relevancy scores for search results affected by the boost action. Boost weights can be positive or negative.

    Positive boost weights increase the relevancy scores for boosted search results. Each boost weight of 1 increases a boosted search result's relevancy score by 0.1% of its original value. For example, if you set a boost weight of 100, you increase each boosted search result's relevancy by +10%, so a search result with an original relevancy score of 60 gets a final relevancy score of 66. Setting a boost weight of 1000 adds +100%, doubling the relevancy scores for boosted search results.

    Negative boost weights reduce the relevancy scores for boosted search results. Each boost weight of –1 reduces a boosted result's relevancy score by 0.1% of its original value. As an example, if you set a boost weight of –150, you reduce a boosted search result's relevancy by 15%, so a search result with an original relevancy score of 100 gets a final relevancy score of 85. Any boost weight of –1000 or lower reduces a boosted search result's relevancy score to 0, causing it to appear at the end of the search result list.

    When a single search result is affected by multiple boost actions, AI Search adds the individual boost weights together to determine the total relevancy score modifier. For example, a search result boosted by three rules with boost weights 100, 150, and –25 has a total boost weight of 225, increasing its final relevancy score by 22.5% of its original value.

    When Name of a field from the selected indexed source. This field appears only when you select Boost By User Context (dynamic) or Boost By Field Match (static) as the boost type.
    Matches the Searcher's

    Dynamically populated user context element to compare with a search result's value for the field selected in the When field. This field appears only when you select Boost By User Context (dynamic) as the boost type.

    The choice list displays the source table and field for each user context element. As an example, the Language user context element is populated using the User [sys_user] table's language field value for the search user.

    Contains Static value to compare with a search result's value for the field selected in the When field. This field appears only when you select Boost By Field Match (static) as the boost type.