getCurrentAggregateID\(\)

reference australia Updated Sep 10, 2026 1 min read PAFU-getCurrentAggregateID.md
Raw file servicenow.com

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.

Name Type Description
None

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.

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

Parent Topic:PAFormulaUtils API

Related topics

getChange(String indicator, Object fromDate, Object toDate)

getChangePercentage(String indicator, Object fromDate, Object toDate)

getCurrentBreakdownID()

getCurrentBreakdownLevel2ID()

getCurrentElementID()

getCurrentElementLevel2ID()

getGap(String indicator, Object onDate)

getGlobalTarget(String indicator, Object onDate)

getPersonalTarget(String indicator, Object onDate)

getScore(String indicator, Object onDate)

PAFormulaUtils API

Search documentation
Search document titles and file paths on the australia branch