Abhijit4
Mega Sage

Hi Shweta,

Your script looks incomplete to me. On which table this BR is written and on which record you want to update the assignment group. 

If you want to update the assignment group on same table then please try below,

    if (current.work_notes == 'My Laptop Issue') { 
current.assignment_group="group_sys_id_here" //store it in system property as best practice
    }

Let me know if you have any further queries.

Please mark this as Correct or Helpful if it helps.

Thanks and Regards,
Abhijit
Community Rising Star 2022

By marking my response as correct or helpful, you contribute to helping future readers with similar issues.
Regards,
Abhijit
ServiceNow MVP