if source field data doesnt map matched with target referene table data then record will be rejected

Jyoti Ranjan Se
Tera Contributor

if source field data doesnt map matched with target referene table data then record will be rejected  and show some error message 

can you please help me on this.

 

Thanks

Jyoti

5 REPLIES 5

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Jyoti Ranjan Se 

 

The data movement from Import set to target table is the last step, before that either you can map manually or via Matching Assit the fields for Source Table and Target table.

 

Please share more details, if you have further point.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

If source field data not found with mapped target reference field then  that record will not insert and give some error message. so i have 5 refernce field to map and check whether this record is exist in target table or not. 

 

please help me on this 

thanks

Jyoti

 

Hi @Jyoti Ranjan Se 

If source field data not found with mapped target reference field then  that record will not insert and give some error message.

Atul: I assume you already Build the transform map and mapping has been done for Source Field to Target Field.

Now if you insert any field which is type reference if that value doesn't exits

 

https://www.servicenow.com/community/developer-forum/fail-transform-map-if-the-reference-field-data-...

 

LearnNGrowAtul_0-1704360617807.png

 

 

Instead of create you can choose reject or Ignore. 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

yes, correct. But i want to write a transform map script for all these reference field . so can you please help me on this to write that script for validation source data are present or not in target table . after that it will give error message .if data is not inserted/updated.