I have tree users group and want to assign task to the users group based on complexity value.These are my group users:
1-expert_users
2-senior_users
3-junior_users
1-If complexity value is "High" then the task must be assigned to expert_users group
2-If complexity value is "Medium" then the task must be assigned to senior_users group
3-If complexity value is "Low" then the task must be assigned to junior_users group
I have created task listener as follow:

And I have used expression as follow:

I have set an variable as global scope as follow:

After done above implementation, I am getting below error:

Please let me know what I am doing wrong here.
Thanks