You defined the object and called it 'arr', but later tried to use it as arrayUtil.



Change them all to one or other and you should be fine.


Lösung in ursprünglichem Beitrag anzeigen

Oh!!!! OK, I changed it and that created the tasks... but it still created multiple tasks for the same group... 😕tasks.PNG


Yeny,



  Try converting sys_id to a string while pushing it into an array like this


assnt_group.push(gr.u_asset.u_contractor_pra_contact_group.toString());



Thanks,


Abhinay



PS: Hit like, Helpful or Correct depending on the impact of the response


Hi Abhinay,



This worked! Thank you so much! The script created the tasks that were needed and did not create any other tasks for the same group.



Thank you!!!


Yeny


Thank you for all your help with this issue Chuck! I truly appreciate it!!



Yeny