Still making progress - almost there.  If these are the correct custom field names on the location table, you need to force the sys_ids/values to a string type.  Here are two methods for doing that

assignment_group: locationGr.u_assignment_group.toString(), // Adjust field name as necessary
assigned_to: locationGr.getValue('u_location_support')

 

View solution in original post