Kieran Anson
Kilo Patron

Hi Suuriya,

You're setting the display value as the underlining value rather than the sys_id.

task.assignment_group = hubs.getDisplayValue(); // This is causing your issue

 

task.setValue('assignment_group' , hubs.getValue());