What is the easiest way to assign a user task to a specific user or a group?

Hi everybody,

What is the easiest way to ensure that a specific user task is assigned to a particular user? As I understand it, just modelling it in a swimlane is not enough. I have done some research, but I still don’t understand exactly how to go about it.

Let’s say I have a model with three lanes: Back office, Sales and Tech support and I have modelled my process correctly with tasks in their proper lane. How can I enforce that Sales tasks go to the Sales team and so on? Can I assign a certain user task to a group and others to a specific person? I’ve read/heard about candidate groups and users which sound promising. How would that work?

Can I define this in the Tasklist app? How does a task listener work? I have found this in an older discussion:

image

Do I have to match that code snippet somewhere else or is that enough to assign that task to the user aa (at least that’s how I understand it to work)? Would I change it to task.setVariable("Sales", task.candidateGroup) so that anybody in the Sales team can claim it?

Hi @NickGabben :index_pointing_at_the_viewer:,

Have a look at the Assignment section in the properties panel:

image