You need to sign in to do that
Don't have an account?
TehNrd
CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, A workflow or field update caused an error?
I am recieving this error when inserting a record with an Apex webservice that is invoked from a button on a page layout. I haven't been able to dig too deep into this issue but because this error is so generic I am not really sure where to start looking.
Has anyone encountered this error message before and if so what did you find to be the issue?
Thanks.
All Answers
This message does catch quite a few errors, but a generic example is:
...
for(Account a : Trigger.new){
someList.add(a);
}
update(someList);
...
ignoring other potential issues, this would give that error. workflows alone cannot cause this...
Correct. This is being invoke with a DML statement.
It appears there is an issue that when inserting a Parent record that -> has workflow rules that -> have associated field updates that -> use a formula to perform the field update where -> the formula uses a roll up summary field.