Audit history is not captured when bulk records are updated through fix script.

Community Alums
Not applicable

HI,

 

I am trying to update 3 fields on 6k records through fix script , but audit history is not captured on few records and it is causing to revert back the value to empty by other sources .

 

Kindly help how to fix the issue.

 

Thanks,

Prakash.

11 REPLIES 11

Harish KM
Kilo Patron
Kilo Patron

Are you using setWorkflow(false) in your fix script?

Regards
Harish

Community Alums
Not applicable

Hey Harish,

 

No ,  I have not used setworkflow(false), sysautofields(false) in my fix script.

 

Thanks,

Prakash.

Then you can check the below link to update as a workaround

https://www.servicenow.com/community/service-management-forum/updating-the-records-by-using-backgrou...

Regards
Harish

AnveshKumar M
Tera Sage
Tera Sage

Hi @Community Alums 

Are you using setWorkFlow(false) / autoSysFields(false) in your fix script? If yes, it might cause this issue.

 

Please mark my answer helpful and accept as solution if it helped you 👍✔️

Thanks,
Anvesh