AnsweredAssumed Answered

How to update a parent field when a related child field changes using Arcade?

Question asked by tedrakel_power on Sep 18, 2020
Latest reply on Sep 25, 2020 by tedrakel_power

I'm writing an immediate calculation attribute rule using Pro version 2.6.1.  I have a relationship defined between a parent feature and children objects.  Whenever the user changes either the parent or any of its children, I need to update a field on the parent feature.  Is this possible using Arcade and immediate calculation attribute rules?  I've written the rule and it works fine when I change the parent feature, but it doesn't fire when I change the related child objects.  Then I began writing a second rule for the child object, but I realized that I would ultimately be changing something on the parent feature, which I do not think can be done using Arcade and immediate calculation attribute rules.  The rule would also have to execute whenever a new object is related to the parent or an existing object is unrelated from the parent.