Unable to Find Currency Variable Type in Maintain Items
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi everyone,
I'm creating a catalog item and need to add a Currency field. However, when I go to Maintain Items (Variables), I don't see a Currency variable type available in the list.
Is there a way to create a Currency field in a catalog item? If not, what is the recommended approach to capture both the currency code (e.g., USD, INR, EUR) and the amount?
Any suggestions would be appreciated. Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
hi @aparnaravi ,
As Currency variable type is not present in the catalog item you need to create Single Line text type variable and you need add validations to it by creating onChange Client script.
Please refer this
Thanks,
BK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi @aparnaravi
ServiceNow does not have a native Currency variable type for Service Catalog items.
To capture both the currency code and the amount, I will recommend you to use two variables:
- a Select Box for the currency code (e.g., USD, INR, EUR) and
- a Single Line Text for the amount.
- For the Currency Code Variable (Alternative):
- Variable Type: Select Box
- Question: Select Currency (or Currency Code)
- Question Choices: Add the exact codes you need as distinct choices (e.g., USD, EUR, INR).
- Create the Amount Variable:
- Variable Type: Single Line Text
- Question: Amount
- For Validation
- Use an onChange Catalog Client Script on your Amount variable to ensure users only enter numeric data with correct decimal formatting
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti