Data set import based on common field

Spade2
Tera Contributor

Hi team

 

I'm trying to do a data import where the common field between the asset record and the spreadsheet is Assigned user. I need to upload the data to populate the rest of the asset record based on that field. Does this mean I need to tick the Coalesce button and ignore blank fields? 

1 ACCEPTED SOLUTION

AshishKM
Kilo Patron
Kilo Patron

Hi @Spade2

Configure the unique column ( e..g Asset Tag ) as coslesce = true in transform map. 

A user may have more than one asset assigned, but every asset will have unique asset tag. OOTB there is no primary or unique column defined except sys_id.

 

So you need to consider any column (as unique value ) within the transform map for update on existing asset record.

 

AshishKM_0-1740095841471.png

 

-Thanks,

AshishKM

 


Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution

View solution in original post

3 REPLIES 3

AshishKM
Kilo Patron
Kilo Patron

Hi @Spade2

Configure the unique column ( e..g Asset Tag ) as coslesce = true in transform map. 

A user may have more than one asset assigned, but every asset will have unique asset tag. OOTB there is no primary or unique column defined except sys_id.

 

So you need to consider any column (as unique value ) within the transform map for update on existing asset record.

 

AshishKM_0-1740095841471.png

 

-Thanks,

AshishKM

 


Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution

Ankur Bawiskar
Tera Patron
Tera Patron

@Spade2 

coalesce on Assigned to is not best as there could be multiple Assigned to users.

For asset table you can use asset tag as coalesce and ensure that's present in your excel file and have field map on it

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Thanks Ankur. Unfortunately, Assigned to is the only common field between my data import and the asset table. The above worked mostly for me but thanks very much for your response. Will be able to use that def for future imports