Find your content:

Search form

You are here

Do changes to rollup summary fields cause triggers to fire?

 
Share

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.



Attribution to: Ralph Callaway

Possible Suggestion/Solution #1

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.


Attribution to: Mohith Shrivastava
This content is remixed from stackoverflow or stackexchange. Please visit https://salesforce.stackexchange.com/questions/4531

My Block Status

My Block Content