Forum Post: RE: No Way to Run Trigger After Object Deleted

  • Thread starter Thread starter romain.pennes@foederis.fr
  • Start date Start date
Status
Not open for further replies.
R

romain.pennes@foederis.fr

Guest
Hello, We also had this need in the past, to be able to run triggers on related records after a record is deleted. As awbranch is stating, this is not possible using the "Run Trigger on Related Record" or the "Object script" types of triggers. However, there is a workaround using the "Update Field Value" type of trigger. This trigger can be processed after delete. You just have to chose an arbitrary field to update (it doesn't matter which one because the record is gonna get deleted anyway), and you can write "rbv_api.runTrigger" statements to call a trigger of the parent's record. We have been using this workaround for more than a year, and it is working fine for us, even though we would prefer being able to use "Run Trigger on Related Record" or the "Object script" types of triggers. Kind regards, Romain.

Continue reading...
 
Status
Not open for further replies.
Back
Top