# @jc:assignee Annotation

Assigns user and groups to Tasks.

Used by the Task control.

Syntax

@jc:assignee

[user="user1,user2,user3,...,userN"]
[group="group1,group2,group3,...,groupN"]
[algorithm=["ToUser" | "ToUserInGroup" | "ToUsersAndGroups"]

Attributes

user

A string or string array. This setting consists of one or more user names for the Assignees List. You must separate each group name with a comma.

group

A string or string array. This annotation consists one or more group names for the Assignees List. You must separate each group name with a comma.

algorithm

A string for determining how to assign Tasks from users on the Assignees List. It must be one of the following values:

ToUser—assigns the Task to a user by name.

ToUserInGroup—assigns the Task to the user in the group that has the least work to perform.

ToUsersAndGroups—assigns the Task to any list of users, list of groups, or combination of users and groups.