Delete event

Hi I just asked a similar question and got an answer, but what if say a deleted object has an attribute of 20 and I want to -20 from another attribute of another entity, can this be done on a microflow? Basically, I want to get the exact value(s) of something that was deleted so I can use that to change stuff.
1 answers

Use a before delete event on the entity (domain model > entity > event handlers), it will allow you to execute a microflow with the object (to be deleted) as parameter, perform your calculation and then the object gets deleted.