Integration HUB ETL staging table having empty fields
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2023 06:05 AM
I am trying to populate data with integration hub ETL class printer.
I created one data source when I am loading the data cost is not getting populated in -prepare source data for mapping
I changed the data type from decimal to currency when I loaded the data in data source I can see the data in import set table. But in prepare source data for mapping it is not coming up.
Please help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2023 01:22 AM
so in excel it's decimal.
import set field should always be of type string.
So what is the target field type? and how are you setting it?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2023 01:37 AM
On excel I changed it to currency, On the staging table also changed it to currency, and target data type is also currency
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2023 01:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2023 02:07 AM
you should never field type in Import set.
It is meant to be kept as String always.
Target field is of type Currency right? then you can do this in onBefore transform script.
Don't use field map
Also ensure you set the currency; In example I have used USD
target.fieldName = "USD" + ";" + source.u_fieldName + "";
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
03-22-2023 02:11 AM
can we do it in the integration hub ETL? I have done after script in transform maps.