Im trying to configure a server action that goes through all contacts and checks if a specific field is Empty.
if the field is empty, it will check the parent_id's field and if that has a value, it will set the contacts field to that of the parent.
How could I create such a server action?
This is my current attempt
I have also tried
But I get the error forbidden opcode(s)