How to update a list field through transform map?

Priyadharshin12
Giga Contributor

Hi,

 I have a requirement where i need to do a transform map for hardware  model table to update model categories field. since model categories is a list field in hardware model table iam not able to update the values. can anyone suggest me any idea on this?

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

please use field map script and return array of sys_ids

In the referenced value field name give sys_id

Regards
Ankur

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

Ankit80
Mega Guru

Please use variables listed in below link to achieve this through field map scripting:

https://docs.servicenow.com/bundle/quebec-platform-administration/page/administer/import-sets/reference/r_FieldMapScriptVars.html