2 coalesce field on a transform map not working properly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-27-2022 06:03 PM
Hello,
I have a transform map that needs to have 2 coalesce field but it is not working. It just inserts instead of updating the record. Does having 2 coalesce work?
Appreciate all the help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-27-2022 08:16 PM
Are the amount fields the currency type? If so, it may be that that is why it is not working. And in that case you will most likely need to resort to script based coalesce for target field sys_id.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-27-2022 08:23 PM
Yes, the amount filed is in currency type. Sure will try using script based coalesce

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-27-2022 08:43 PM
You might want to use scripted coalesce for this requirement. You can use "getCurrencyValue()" to get the value as entered in unformatted number format.
BR, Gaurav

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-27-2022 08:44 PM
You can check other methods below -
https://docs.servicenow.com/bundle/sandiego-platform-administration/page/administer/currency/concept/currency-values-scripts.html#:~:text=Methods%20to%20access%20currency%20fields
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-27-2022 08:49 PM
Thank you, I will try this out