How to convert other country currency to USD
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2025 04:32 AM
Hello,
i am trying to build one logic on my form, i have 2 fields where we can give currency value
nominal currency&
currency in usd
when i give any value in nominal field value it should automatically convert in USD and should populate in current in USD field
can anyone please suggest me on this how to build the logic
Thank you!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2025 08:18 PM
Hope you are doing good.
Did my reply answer your question?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2025 11:16 AM
Hi @Ankur Bawiskar
Thanks for the response,
i have used the above as per my requirement but in the above code it is only checking USD currency to our target currency, but as per my requirement in nominal currency we will get different countries currency amount that nominal currency from different country should convert in USD and should visible in settlement amount in USD, could you please help me with this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2025 07:41 PM
that's what I asked earlier what do you mean by nominal currency?
It should be of some country?
I just shared the code to convert from 1 currency to other, please enhance it as per your case.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2025 05:49 AM - edited 07-22-2025 05:51 AM
@jai281997
take a look at these configurations:
EDIT: and eventually to system props:
Check if your instance has the single currency true or false.
/* If my response wasn’t a total disaster ↙️ ⭐ drop a Kudos or Accept as Solution ✅ ↘️ Cheers! */