--- title: getCurrentElementID\(\) description: 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. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/now-intelligence/performance-analytics/PAFU-getCurrentElementID.html release: australia product: Performance Analytics classification: performance-analytics topic_type: reference last_updated: "2026-03-12" reading_time_minutes: 2 breadcrumb: [PAFormulaUtils API, Get analytics methods in formulas, Formula indicators, Indicators, Configure fundamentals, Performance Analytics \(Indicator data sources\), Platform Analytics] --- # getCurrentElementID\(\) 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. Use this method when altering a formula for a specific element. For example, use the method when running a query to count different attributes, such as excluding scores for changes from groups that do not change. |Name|Type|Description| |----|----|-----------| |None| | |
Type Description
String Dynamic level 1 breakdown element ID from the indicator of the current formula as it changes with your selection in the Analytics Hub. If there is no level 1 breakdown element ID, the method does not return a value.
Example: ``` var res = [[Number of open incidents]]; if(pa.getCurrentBreakdownID() == 'baec0752bf130100b96dac808c0739ed' && pa.getCurrentElementID() == '8a4dde73c6112278017a6a4baf547aa7') { res = 0; } res; ``` **Parent Topic:**[PAFormulaUtils API](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/now-intelligence/performance-analytics/PAFormulaUtils.md) **Related topics** [getChange\(String indicator, Object fromDate, Object toDate\)]() [getChangePercentage\(String indicator, Object fromDate, Object toDate\)]() [getCurrentAggregateID\(\)]() [getCurrentBreakdownID\(\)]() [getCurrentBreakdownLevel2ID\(\)]() [getCurrentElementLevel2ID\(\)]() [getGap\(String indicator, Object onDate\)]() [getGlobalTarget\(String indicator, Object onDate\)]() [getPersonalTarget\(String indicator, Object onDate\)]() [getScore\(String indicator, Object onDate\)]() [PAFormulaUtils API](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/now-intelligence/performance-analytics/PAFormulaUtils.md)