---
sourceDocument: Brazil Build or modify applications
sourceDocumentLink: https://www.servicenow.com/docs/r/application-development

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Build or modify applications

ft:clusterId :

    - cadev

bundleId :

    - cadev

workflow :

    - Development, Data, and Analytics


---

# KPI Targets component setup

# KPI Targets component setup {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 8 minutes to read  
The KPI Targets component enables users to set and review targets on Performance Analytics indicators from Next Experience. Configure the indicators you want to show and indicator targets you want to create. Then configure the information and controls to display.

## Before you begin

This task assumes you have placed the component on the page and are ready to configure the properties and events. For instructions on accessing and using features in UI Builder, see [Customize UI Builder pages using components](https://www.servicenow.com/docs/YMtTz79hYjmj5_kMcObIuA "Learn what a component is in UI Builder. Also, see how components work within UI Builder.").  
Note:  
This document describes the latest component functionality. Go to the store to make sure you have the latest version of the component.

Role required: admin or ui_builder_admin

## Procedure

1. Define a label for your KPI Targets component that differentiates it from other components in the content tree.  
   A label makes finding the component easier in a large list of components. For instructions on using the content tree, see [Manage UI pages and page variants](https://www.servicenow.com/docs/Hq7OFdFRjvDFnNsfdtsMGw "Learn what a page is in UI Builder. Understand the building blocks of a UI Builder page, such as column layouts and components.") .

   ![KPI Targets list connected component renamed KPI Targets for MyWorkspace]()
2. Select the KPI Targets component, using one of these methods:
   * Click anywhere within the component.
   * Select the KPI Targets label you created for your component in the content tree.

   {#kpi-targets-component-uib-setup__choices_xbd_m3v_nnb}  
   The property fields appear in the Config tab in the setup panel on the right.
{#kpi-targets-component-uib-setup__steps_wbd_m3v_nnb}

## KPI Targets component properties {#ariaid-title2}

Define the indicator targets that your KPI Targets component should display. Set whether the component can be used to create targets and on which indicator. Configure what the component shows.
To configure the properties, enter either static or dynamic input. Enter dynamic input by selecting the input type.

* Data binding: Creates dynamic property values from multiple sources. Sources include state variables (@state), URL variables (@context), or data resource payloads (@data). For details, see [Add and configure data resources to a
  page](https://www.servicenow.com/docs/~B53KgSqh6jyRj9wmzg8LA "Add data resources to dynamically expose data from tables, records, or other elements on your page in UI Builder.") .
* Scripting: Creates a scripted property value. For details on scripted values, see [Create and bind a client state parameter to a component](https://www.servicenow.com/docs/JxkxcsWDJlkywLr4rc~p8A "Create and bind a client state parameter value to a component in UI Builder. By adding custom values to your components, these components can then be automatically updated through a script.") .
{#kpi-targets-config-properties__choices_4jq_bp0_csl}
{#kpi-targets-config-properties__table_u4p_xyv_nnb__entry__3}

| Field | Property | Description |
|-|-|-|
| Query (Edit Query) | queryString | A query made to the Target values \[pa_target_values\] table about which indicators to show the target cards for. Uses the ServiceNow AI Platform® condition builder, including Related Tables. Default: \[Target\]\[is not\]\[empty\] |
| Grid properties |||
| Show tabs | showTabs | Select whether to show separate tabs for Global ("For everyone") and Personal ("For me") targets. |
| Default tab | type | If Show tabs is turned on, sets whether to show Global ("For everyone") or Personal ("For me") targets by default. |
| Show filters button | showFilters | If turned on, shows the List Settings button. When enabled, a user can decide whether to show current, past, and/or future targets. Default settings are set by the individual Show current, Show past, and Show future properties. Default: true (on) |
| Show current | showCurrentTarget | Setting this on turns Show current on by default. Turning off this setting hides the current target whether the Show filters button is on. However, even if the Show filters button is off, users have a Show all targets in the list link that overrides the Show current, Show past, and Show future settings for the current session. Default: true (on) |
| Show past | showPastTargets | As Show current, but for expired, past targets. |
| Show future | showFutureTargets | As Show current, but for targets that don't become active until a date in the future. |
| Card properties |||
| Show indicator name | showIndicatorName | Shows indicator name for target if 'true.' Default: true |
| Show target status | showTargetStatus | If true and an indicator has a review date, the status of the target is shown. The target status reflects whether the target trend shows that the target will be met on the review date. If there are not enough scores to make this prediction, the target status indicates this situation. |
| Create new target |||
| Target UUID | uuid | The UUID of a fully specified indicator which a user can apply a target to. For a runtime user to create a target for an indicator, also set Enable editing to true. Specify a target UUID or a KPI list, not both. |
| KPI List | indicatorsList | A JSON list of `{"id":"Indicator id","label":"Indicator name"} ` pairs. The user can set a target for any or all of these indicators. Also set Enable editing to true. If you specify a KPI List, this list overrides the Target UUID. |
| Breakdowns : elements | breakdownElementInfo | A breakdown and an element SysIDs linked by a colon, such as `baec:d625d`. You can also specify a second-level breakdown and element, following another colon. The target is created on this breakdown and element combination. |
| Average Score | averageScore | Average Score to be used as a baseline for improvement targets. You must specify this value to enable the "averageScore" baseline config option. |
| Additional baseline filter | additionalBaselineFilter | A function you provide yourself to filter baseline values, such as which values are used to calculate the average score. |
| Baseline config options | baselineConfigOptions | Allow user to base a new target on a change to the old target or a change to the average score. If neither option is available or selected, the new target is an entered value. Pass an empty array or one or both of \["averageScore", "previousTarget"\], case-sensitive. The previousTarget option only takes effect if a target value is already defined. |
| Additional settings |||
| Enable editing | enableEdit | Enables or disables the ability of a user to change a target value. Security restrictions on setting global targets apply. This property also enables the creation of new targets when the Target UUID or KPI List property is also set. Default: true |
[ ]

{#kpi-targets-config-properties__table_u4p_xyv_nnb}

## Creating and editing targets {#ariaid-title3}

Several configuration options affect whether a user can create or edit targets. These
settings also affect which indicator targets they can create.

There are two ways to let a user create and edit targets. First, is to let them change existing
targets that the query returns. To do so, activate the Enable editing
property. At runtime, the user can click a target card to open a dialog for setting a new
target value. For a global ("For everyone") target, the user must be either an admin or a
responsible user for that target. Clicking the following target card opens a dialog for
changing the score:

The second way is to let users add a new target value to specific indicators. For example, a
user might want to add a personal target to an indicator that has no targets. Users add such
targets by selecting Create Target.

![Create target button.]().

Enable the Create Target button by activating the Enable editing
button. However, users can only add a target this way to indicators that you specify. Specify
the UUID of at least one indicator. You can also specify a breakdown and element on that
indicator.

### Get and pass indicator UUIDs {#ariaid-title4}

Specify either the UUID of a single indicator in the Target UUID field or a JSON list of indicator id and label pairs in the
KPI List field.

#### Before you begin

Role required: ui_builder_admin

#### Procedure

1. Navigate to Platform AnalyticsLibraryIndicators.
2. Locate the indicator you are interested in.  
   If you cannot find the indicator, it might not be published in the library. To publish it, change a setting on the indicator record. Contact a Performance Analytics admin for assistance.
3. Select the indicator to open it in KPI Details.
4. Copy the value of the var_uuid parameter from the KPI Details URL.  
   For example, if the KPI Details URL is ` https://instance.servicenow.com/now/platform-analytics-workspace/ac_kpi_details/0077c1f3c3353110458f1fec5440ddb7`, the indicator UUID is
   `0077c1f3c3353110458f1fec5440ddb7`.
5. Navigate back to the KPI Targets component you are configuring in the UI Builder.
6. Either:
   * Enter the indicator UUID in the Target UUID field. Users can add targets only to that indicator.
   * Enter the indicator UUID as part of a UUID/Label pair in the KPI List field. Users can choose between the indicators that you specify.

   {#get-pass-indicator-uuids__choices_wbk_wh2_vrb}  
   For example, to give users a choice of adding targets to either the Number of open incidents or the Average age open incidents indicator, enter the following array:

   `[{"id":"fb007202d7130100b96d45a3ce6103b4","label":"Number
   of open
   incidents"},{"id":"88a0b602d7130100b96d45a3ce61030c","label":"Average
   age open incidents"}]`

   The user then sees an indicator
   selector in runtime.

#### What to do next

You can select a first-level or a second-level breakdown for the indicator or the array of indicators.

### Get and pass breakdown and element UUIDs {#ariaid-title5}

You can specify a breakdown and element for KPI Targets. Users create targets on that breakdown and element. The breakdown can be first or second-level.

#### Before you begin

Role required: ui_builder_admin
Get the UUID of the indicator or indicators for which you want users to create targets. Indicator UUIDs are described in "Get and pass indicator UUIDs."

#### About this task

Use the PAScorecards API to get the UUIDs of breakdowns and elements. For more information, see [Scorecards API](https://www.servicenow.com/docs/access?context=c_PerformanceAnalyticsAPI&version=brazil&pubname=brazil-api-reference&ft:locale=en-US). You can also look up this API in the API Reference here on the Developer Site.

For more
information about breakdowns and elements, see [Automated
breakdowns](https://www.servicenow.com/docs/access?context=automated-breakdowns&version=brazil&pubname=brazil-now-intelligence&ft:locale=en-US).  
Note:  
If a user tries to create a target for an indicator that doesn't support the breakdown, they get an error message, and no target is created. This situation can occur when you specify an array of indicators to choose from. It can also occur when you specify a second-level breakdown on an indicator that doesn't support breakdown matrix collection.

#### Procedure

1. To get a list of the breakdowns for an indicator, pass the indicator UUID and the parameter sysparm_include_available_breakdowns=true to the PAScorecards API.  
   For example, for the indicator Number of open incidents, whose UUID is `fb007202d7130100b96d45a3ce6103b4`, pass the following query to your instance:

   `curl -v -u "user:password" -H
   "Accept:application/json"
   "https://instance.service-now.com/api/now/v1/pa/scorecards?sysparm_uuid=fb007202d7130100b96d45a3ce6103b4&sysparm_include_available_breakdowns=true"`
2. Locate the UUID of the breakdown you want in the JSON output.
3. To get a list of the elements of a breakdown, pass the indicator UUID and the sysparm_breakdown parameter with the breakdown UUID.  
   For example, to get the elements of the Assignment Group breakdown for the Number of open incidents indicator, pass the following query:

   `curl -v
   -u "user:password" -H "Accept:application/json"
   "https://<instance>.service-now.com/api/now/v1/pa/scorecards?sysparm_uuid=fb007202d7130100b96d45a3ce6103b4&sysparm_breakdown=baec0752bf130100b96dac808c0739ed"`
4. Locate the UUID of the element you want in the JSON output.
5. If you want to specify a second-level breakdown, repeat these steps.
6. Navigate to the KPI Targets component you're configuring in UI Builder.
7. Enter either a first-level or a second-level breakdown and element in the Breakdowns : elements field.
   * For a first-level breakdown, enter `[breakdown UUID]:[element
     UUID]`.
   * For a second-level breakdown, enter `[breakdown UUID]:[element
     UUID]:[level 2 breakdown UUID]:[level 2 element UUID]`.

   {#get-pass-breakdown-element-uuids__choices_uf1_2jf_vrb}  
   For example, for the Assignment Group breakdown and the Service Desk element, enter `baec0752bf130100b96dac808c0739ed:d625dccec0a8016700a222a0f7900d06`. The UUID of the Assignment Group breakdown is `baec0752bf130100b96dac808c0739ed`. The UUID of the Service Desk element is `d625dccec0a8016700a222a0f7900d06`.

## KPI Targets component events {#ariaid-title6}

No events are exposed for the KPI Targets component in the Brazil release.

*[\>]: and then


