0

In a master detail relationship in child object if we created trigger on child object after delete.when parent is deleted will the trigger execute?

1

No, records deleted due to cascade deletion will not execute their triggers. Instead, you will need to do that logic in the parent trigger, either by manually deleting the records, or calling the logic from the parent record (requires a trigger framework that uses a class).

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.