Can we overwrite the system fields (created by, created date, updated by, etc) with the input value from transform map

udaykulal
Giga Contributor

I am bulk importing historical Incidents. As per the client requires the created date should be back dated to the original date provided in the excel. However even though I mapped the fields properly, the created by and created date is taken as the user who is doing the action. I was able to map system fields and update via tranform map in User table. Only for incident table it doesn't seems to work? Has anybody faced this issue before ?

Regards

Uday

17 REPLIES 17

I am trying this method, however it just skips all the records that i'm trying to import.



any suggestions?


I would check to see if you are importing new record entries. My code only works for already existing entries.


Nestor's code worked.



We wanted to keep the source data's created date so I took out the "Ignore Insert" code and left the autoSysFields and setWorkflow to both false, imported data and the Create date was imported correctly.