GlideCurrencySymbol - Scoped, Global

concept australia Updated Sep 10, 2026 1 min read GlideCurrencySymbolBothAPI.md
Raw file servicenow.com

The GlideCurrencySymbol API provides methods to retrieve currency symbols.

Symbol information is also available in the Currency [fx_currency] table, but this API has built-in caching that minimizes the queries issued to fx_currency.

This API allows you to work with currency symbols anywhere on the ServiceNow AI Platform, not just in Currency and FX Currency fields.

This API requires the FX Currency (com.glide.currency2) plugin, which is available by default. This API is provided within the sn_currency namespace.

Parent Topic:Server API reference

GlideCurrencySymbol - getCurrencySymbol(String letterCode)

Returns the corresponding symbol for a given alphabetic currency code.

Name Type Description
letterCode String ISO 4217 alphabetic currency code.
Type Description
String Currency symbol for the given code.

This example returns the currency symbol for United States dollars (USD).

JavaScript
gs.info(sn_currency.GlideCurrencySymbol.getCurrencySymbol("USD"));

Output:

Text
$

GlideCurrencySymbol - getSortedActiveCurrencySymbols()

Returns all currency symbols that are currently active on the instance.

Name Type Description
None

Type

Description

Array

Array of currency symbol objects that are currently active on the instance. Symbols are returned in sorted order by their Unicode code, which is also used when ordering by symbol in the Currency [fx_currency] table.

JSON
[  {    "code": "String",    "symbol": "String"  }]

<Array>.code

Currency code.Data type: String

<Array>.symbol

Currency symbol.Data type: String

This example lists each currency code and symbol that is currently active on the instance.
JavaScript
var symbols = sn_currency.GlideCurrencySymbol.getSortedActiveCurrencySymbols();for (idx in symbols) {    gs.info(symbols[idx]["code"] + ": " + symbols[idx]["symbol"]);};

Output:

Text
USD: $CHF: CHFGBP: £JPY: ¥EUR: €
Search documentation
Search document titles and file paths on the australia branch