---
sourceDocument: Xanadu ServiceNow AI Platform Administration
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/platform-administration

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu ServiceNow AI Platform Administration

ft:clusterId :

    - platadm

bundleId :

    - platadm

workflow :

    - Platform


---

# Dot-walkable Currency Instance fields

# Dot-walkable Currency Instance fields {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

You can dot-walk certain fields in the Currency Instance \[fx_currency2_instance\]
record, and field values stored in the database are consistent with each other. However, in
script, since fields can be changed individually, and you change only some of the fields, they can
be inconsistent.

## Currency code {#fx-currency-dot-walkable-fields__section_zzx_ygm_4jb}

The Currency field isn't a reference field, so you can set it to any
value. However, if you enter an invalid currency code, an exception message is generated. An
empty value is considered a session currency code.

## Query conditions {#fx-currency-dot-walkable-fields__section_fbr_cdv_pjb}

You can add query conditions on dot-walked fields in the instance table. However, when the query condition value is in a special format with currency code and amount, it's treated as a compound condition on the dot walked fields. The value has to be in format `XYZ,abc` where:

* `XYZ` is a currency code, and
* `abc` is an amount.
{#fx-currency-dot-walkable-fields__ul_uv5_x3y_qjb}

For example, `USD, 12.34`.

A condition such as `cost>USD,12.34` is treated as
`cost.currency>USD AND cost.amount12.34`.

When the second operand is another Currency2 field, the condition translates in a similar
manner:

`cost1>cost2` is treated as `cost1.currency=cost2.currency AND
cost1.amount>cost2.amount`.
**Related reference**   

* [Life cycle of records containing FX Currency fields](https://servicenow-prod.fluidtopics.net/TIor820Szv5DJK8m1b1JuQ "The behavior of FX Currency fields varies during the processing that occurs during the lifetime of a record containing them.")

