Field mapping

Aniket Shukla
Tera Expert

how to overcome the error "An existing map to this target field already exists", but i am mapping to two different fields like:

  • purchase_order_line

  • purchase_order_line.short_description

Ankur Bawiskar
Tera Patron

@Aniket Shukla 

you have only 1 transform map and you want to set 2 target fields with same source value?

If yes then system is blocking you?

If yes then why not use onBefore transform script for the 2nd field like this

target.fieldName = source.u_fieldname;

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

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

Ankur Bawiskar
Tera Patron

@Aniket Shukla 

the second field seems to be a dot walked field

share screenshots.

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

Aniket Shukla
Tera Expert

AniketShukla_0-1747813206019.png

 

@Aniket Shukla 

which are the other field maps?

Did you check any other field map already exist for the same target field?

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

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