22

If a parent record has a roll up summary field, let's say to calculate the number of line items on an opportunity, if a new line item is added (and hence the value of the rollup field is changed), will triggers be fired on the parent opportunity record? And if so, are there any deviations from the standard trigger order of execution?

The roll-up summary field documentation indicates that workflow rules and validation rules will fire on the parent object, but doesn't mention what the trigger behavior is.


23

A similar discussion went here and you may find it helpful.

What sObject properties don't cause triggers to fire?

To answer your question The Trigger will fire.The Document mentions that the Parent record record goes through save procedure meaning the trigger will fire on parent record if there is a modification on the field of child record that feeds to the parent as roll up.

  • D'oh, it was right there in front of me, thanks Mohith – Ralph Callaway Nov 19 '12 at 0:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.