تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1944 أدوات العرض

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)

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
3
يونيو 25
2582
0
مايو 24
1708
1
مارس 24
1616
1
يناير 24
1534
2
يونيو 23
3998