You need to sign in to do that
Don't have an account?
SF Driving me Nuts!!!!
Hi,
I am getting a number of errors, which seemed to have just appeared out of know where:
System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, AutoCreateSA: execution of AfterInsert
caused by: System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, AutoCreateSI: execution of AfterInsert
caused by: System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, CreateQATCaseOnSA: execution of BeforeUpdate
caused by: System.QueryException: List has no rows for assignment to SObject
Trigger.CreateQATCaseOnSA: line 6, column 19: []
Trigger.AutoCreateSI: line 23, column 13: []
Trigger.AutoCreateSA: line 53, column 13: []
System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, AutoCreateSA: execution of AfterInsert
caused by: System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, AutoCreateSI: execution of AfterInsert
caused by: System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, CreateQATCaseOnSA: execution of BeforeUpdate
caused by: System.QueryException: List has no rows for assignment to SObject
Trigger.CreateQATCaseOnSA: line 6, column 19: []
Trigger.AutoCreateSI: line 23, column 13: []
Trigger.AutoCreateSA: line 53, column 13: []
System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, AutoCreateSI: execution of AfterInsert
caused by: System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, CreateQATCaseOnSA: execution of BeforeUpdate
caused by: System.QueryException: List has no rows for assignment to SObject
Trigger.CreateQATCaseOnSA: line 6, column 19: []
Trigger.AutoCreateSI: line 23, column 13: []
I cant think for the life of me what has changed here to make this happen.
any guidence or advice would REALLY be appreciated.
It'd be helpful if you also gave us some context for your errors. Just listing what error messages you've received tells us nothing about your use cases are, what your problems might be, and what the end result that you want is.
my apologies - to be frank, i dont know. I am trying to upload the following trigger through IDE:
and it failes with the errors above.
sorry to be vauge. I would normally give full explanation, but i have not done anything to make this happen??
I'd imagine the error is from your record type query, check that that record type still exists.
Well what I can guess out of it is that you are trying to insert a list of case in the trigger but there is (atleast) one another trigger which works on the insertion of Case (named AutoCreatSI (and most probably AutoCreatSA too).
So there is some conflict in these triggers.....you must check what those after insert trigger on case are doing....if you cant find out put the code here for others to be helpful.
Thanks