Values move from staging table to local table

Sengeni
Tera Contributor

Hi,

I have created a staging table called "Account enable status staging" and main /local table"account enable staus".For inserting values i have use bulk upload. The Values are inserting to the staging table.

Now i want is using transform map the values in the staging table are move to local table without any values are repeating.Please help me with the tranform map as soon as possible.

1 ACCEPTED SOLUTION

Hi,

once data is inserted into staging table it would automatically run the transform map and process it

regards
Ankur

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

View solution in original post

5 REPLIES 5

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

you need to design the transform map based on your tables and accordingly create the field maps

you need to decide which field would be coalesce=true in field map

if match is found against that field it would update; else it would insert

regards
Ankur

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

Hi, 

i have created field maps

 

find_real_file.png

For moving values from stagging to main table,we have to do some logic.please help me with that 

Hi,

once data is inserted into staging table it would automatically run the transform map and process it

regards
Ankur

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

Hi,

Thankyou for your answer,it is working fine.I have another doubt.if more than one records repeating in table, how to restrict that,we have to write script for that? where we have to write in main table or stagging table or in transform map.Please help me with that