assign task to a group in the dropdown field value

hello im new to appian,

is there a way to assign a task to a group base on the value of groups in the dropdown ?

i try using groupsByName function on the process model in the scriptask to get the specific group that i selected on the dropdown field but im unable to set the task assignment on that group

Thank you very much 

  Discussion posts and replies are publicly visible