unable to delete record through background script also getting this message "Inheriting workflow flag value 'false' for deletion of record '6cfece73db7a4cd05b74f9b2f3961936' from sub-class 'cmdb_ci_win_server'"

Sai89
Mega Expert

Hi,

I could not able to delete one server record through background script 
getting this message after running it. Please help me out on this how can i do this.

17 REPLIES 17

D_vid Novotn_
Tera Contributor

I had an similar issue. Issue was that sys_class for the record has changed to it's base table after cloning. 
After sys_class was changed to correct table in background script, I was able to delete the record. 

There is more information in KB0781969 

Sri Bhavani
ServiceNow Employee
ServiceNow Employee

Hi @Sai89,

 

I am also facing the same issue now. Can you tell if you had resolved this issue?

 

Thanks

I suspect a database problem, record may exist in one partition (cmdb) and not the other (cmdb$par1). Only Servicenow TSEs can verify/fix the problem.

xBogo
Tera Contributor

KB provided is not accessible for me: 

xBogo_0-1726827245133.png

Is there any known reason of this error? Something maybe related to Workflows? 

Sushrutbhosale
Tera Contributor

Hi Sai89,

 

If deleting via BG is not mandatory, you can try filtering the single record in list view, then Export it to XML. Open the XML in Notepad and find "<saml2_update1_properties action="INSERT_OR_UPDATE"> change it to <saml2_update1_properties action="DELETE"> save the XML and Import this changed XML into the same instance. 
This should delete the record.

Thanks,

Sushrut