---
sourceDocument: Australia Platform Analytics
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/de-DE/now-intelligence

 Release :

    - australia

ft:locale :

    - de-DE

ft:publication_title :

    - Australia Platform Analytics

ft:clusterId :

    - par

bundleId :

    - par

workflow :

    - Platform


---

# getCurrentAggregateID()

# getCurrentAggregateID() {#ariaid-title1}

* Freigeben Version: Australia
* 
* Aktualisiert 12. März 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 Minute Lesedauer

Returns the time series aggregate identifier (sys_id) from the indicator of the current
formula. The sys_id is returned dynamically, as the selection in the Analytics Hub changes.
{#PAFU-getCurrentAggregateID__table_vxf_2ml_ffb__entry__3}

| Name | Type | Description |
|-|-|-|
| None |   |   |
[Tabelle : 1. Parameters]

{#PAFU-getCurrentAggregateID__table_vxf_2ml_ffb} {#PAFU-getCurrentAggregateID__table_wxf_2ml_ffb__entry__2}

| Type | Description |
|-|-|
| String | Dynamic time series aggregate ID from the indicator of the current formula as it changes with your selection in the Analytics Hub . If there is no time series aggregate ID, the method does not return a value. |
[Tabelle : 2. Returns]

{#PAFU-getCurrentAggregateID__table_wxf_2ml_ffb}  
Example:

    var res = [[Number of open incidents]];
    if(pa.getCurrentAggregateID() == '89ea4c11d7001100ba986f14ce6103dc')
      {
        res = 0;
      }
    res;

**Zugehörige Konzepte**   

* [PAFormulaUtils API](https://servicenow-prod.fluidtopics.net/Ra9O4KxXs3o~oQVzrm73_Q "The PAFormulaUtils API enables you to obtain a value that was calculated in the Analytics Hub and use that value as input for a formula.")  
**Zugehörige Verweise**   

* [getChange(String indicator, Object fromDate, Object toDate)](https://servicenow-prod.fluidtopics.net/ubh5lMQPzl1LQ155PCH2pg "Returns the change in the score of an indicator between two specified dates.")
* [getChangePercentage(String indicator, Object fromDate, Object toDate)](https://servicenow-prod.fluidtopics.net/hXfoXXnMlPttpWaa~UE~vg "Returns the percentage of change in the score of an indicator between two specified dates.")
* [getCurrentBreakdownID()](https://servicenow-prod.fluidtopics.net/qa2eahd8Vg87kOAlphvELQ "Returns the level 1 breakdown identifier (sys_id) from the indicator of the current formula. The sys_id is returned dynamically, as the selection in the Analytics Hub changes.")
* [getCurrentBreakdownLevel2ID()](https://servicenow-prod.fluidtopics.net/EDbjNfxx1E8dcOVv080Pzw "Returns the level 2 breakdown identifier (sys_id) from the indicator of the current formula. The sys_id is returned dynamically, as the selection in the Analytics Hub changes.")
* [getCurrentElementID()](https://servicenow-prod.fluidtopics.net/9yoslbwpqelRAsvLwFMagA "Returns the level 1 breakdown element identifier (sys_id) from the indicator of the current formula. The sys_id is returned dynamically, as the selection in the Analytics Hub changes.")
* [getCurrentElementLevel2ID()](https://servicenow-prod.fluidtopics.net/OP1kFy5zZCoYL00h1XIy0Q "Returns the level 2 breakdown element identifier (sys_id) from the indicator of the current formula. The sys_id is returned dynamically, as the selection in the Analytics Hub changes.")
* [getGap(String indicator, Object onDate)](https://servicenow-prod.fluidtopics.net/GJ6SvCPlywib_U5jDlvFhg "Returns the global target gap for the specified indicator on the specified date.")
* [getGlobalTarget(String indicator, Object onDate)](https://servicenow-prod.fluidtopics.net/NHlD_o2yPdj0tXuNoi7wOg "Returns the global target associated with the specified indicator for the specified date.")
* [getPersonalTarget(String indicator, Object onDate)](https://servicenow-prod.fluidtopics.net/0zDQVUU8ahU32AXMlFSJAQ "Returns the personal target associated with the specified indicator for the specified date.")
* [getScore(String indicator, Object onDate)](https://servicenow-prod.fluidtopics.net/ttQgOcdtqO8Rf0m_cS4Vtg "Returns the score of the specified indicator for the specified date.")

