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

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
2375
0
مايو 24
1610
1
مارس 24
1488
1
يناير 24
1452
2
يونيو 23
3845