Are object deletion rules triggered just before or just after removal of an object instance? For example, BOA is related to BOB and a calculated attribute in BOB counts how many BOA instances are linked to a BOB. I need to re-set this attribute when BOA is deleted. I added these two rules to the object deletion node of BOA:
rule 1: FIND BOB WHERE BOA IN BOB.RelatedAttribute
rule 2: UPDATE BOB
Will it work? I guess could find out the answer empirically but I want to learn more about the way deletion rules operate.
When exactly an object deletion rules are triggered?
-
- Posts: 7526
- Joined: Sun Apr 24, 2005 12:36 am
- Contact: