You need to sign in to do that
Don't have an account?
tannershamrock2
APEX Trigger Not Firing on After Insert
So, I created a Trigger to fire on After Insert for the Notes object. It works perfectly fine, both in Test and Production.
I copied this code exactly, but modified to use with the Attachment object. It runs perfectly fine in Test mode. I can step through the logs entirely and everything ran as expected.
When I try to run the Attachment After Insert trigger by actually creating the attachment in the UI, nothing happens at all. I have even removed all logic to basically allow it to do this: 1) After Insert, change the Parent object's checkbox to = TRUE. This does not even work.
Does Salesforce not allow After Inserts on Attachments?
I copied this code exactly, but modified to use with the Attachment object. It runs perfectly fine in Test mode. I can step through the logs entirely and everything ran as expected.
When I try to run the Attachment After Insert trigger by actually creating the attachment in the UI, nothing happens at all. I have even removed all logic to basically allow it to do this: 1) After Insert, change the Parent object's checkbox to = TRUE. This does not even work.
Does Salesforce not allow After Inserts on Attachments?
http://community.salesforce.com/sforce/board/message?board.id=apex&message.id=4073#M4073