We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

my Currency field not mapped in flow

shambhaviC
Giga Contributor

Please let me know i map the currency field value to other currency fields value with diff.. tables
in the flow i ahve create a record and map the fields value.
in this every thing lookes good evne when i try to test the flow its show the currency firld value but when i run on the object level its not.
please help.

2 REPLIES 2

sivasankaris
Tera Guru

Hi @shambhaviC ,

Can you please share any screenshots related to the above issue..

 

Vaibhav Chouhan
Tera Guru

It looks like this is happening because currency fields in ServiceNow aren’t simple numbers. When you map them directly in Flow Designer, sometimes the value shows correctly in the test but doesn’t persist properly during real execution.

A simple workaround is to convert the currency value to a string before mapping it to the target field.

In your Flow, instead of directly dragging the currency field, switch the field mapping to Script and use something like:

return trigger.current.u_currency_field.toString();

Then map that output to your target currency field.

Converting it to a string ensures the value is passed correctly and stored properly when the record is actually created.

I’ve tested this approach, and it works when direct mapping behaves inconsistently.

 

VaibhavChouhan_1-1770983235570.png