# Assignment Rules

## Permissions Required

Your Workflow user account or group membership must have the following permissions to configure a Form Task element in the Process model unless your user account has the **Make this user a Super Admin** setting selected:

* Processes: Edit Processes
* Processes: View Processes

See the [Process](https://workflow-docs.antnest.vn/users-and-groups/permission-descriptions-for-users-and-groups#processes) permissions or ask your Workflow Administrator for assistance.

## Start Permission Panel Settings

{% hint style="info" %}
[Permissions are required to do this.](#permissions-required)
{% endhint %}

Specify who can start the process

1. Ensure that the Hide Menus button<img src="https://4147840757-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-McX7LDFoA79C_OnUj-V%2F-Mcb8AvYPEhtWiAczJ-j%2F-McbI7sgOtS-t0jetpT_%2FHide%20Menus%20button%20Process%20Modeler%20-%20Processes.png?alt=media&#x26;token=d1af2985-579e-4503-b23d-f76188b42456" alt="" data-size="line">is not enabled.&#x20;
2. From the **Type** drop-down menu, select one of the following options:
   * **User / Group:** Select **User/Group** to randomly assign the Task to a specified Workflow user or group member. When this option is selected, the **User/Group** drop-down menu displays below the **Type** drop-down menu. &#x20;
3. From the **User/Group** drop-down menu, select a user or group\
   &#x20;<img src="https://4147840757-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-McX7LDFoA79C_OnUj-V%2F-McbNgt8MPYIUf169uuu%2F-McbPv_Ytk_tap4Lmcwn%2Fstart%20permissions.png?alt=media&#x26;token=01467cc3-2897-4561-8b15-8551f0ca0882" alt="" data-size="original"> <br>

## Assignment Rules Panel Settings

Specify whom to assign the Task or to use assignment rules to assign the Task.

#### Select to Whom to Assign the Task

Instead of assign the Task's assignee using one or more rules, select to whom to assign a Task:

* **Request starter:** Assign that Task to the person who started the Request.
* **User:** Assign that Task to a specified Workflow [user](https://workflow-docs.antnest.vn/users-and-groups/add-users/what-is-a-user).
* **Group:** Assign that Task to any member of a specified Workflow [group](https://workflow-docs.antnest.vn/users-and-groups/group-management/what-is-a-group). When a Task is assigned to a Workflow group, round robin assignment rules determine which group member is the assignee without manually assigning the Task.
* **Previous Task assignee:** Assign that Task to the previous Task assignee in that Request's workflow.
* **By User ID:** Assign that Task to a Workflow user based on a **Variable Name** value as entered into a Workflow Screen during a previous Task in that Request.&#x20;
* **Self Service:** Assign that Task to allow any member in a specified Workflow group to self-assign any Task from a queue. When this Form Task element triggers, this Task displays in the [**Self Service** Task page](https://workflow-docs.antnest.vn/requests-and-tasks/task-management/self-assign-tasks-to-yourself-from-a-queue) for all members of that Workflow group.

If this Form Task element is configured to assign the Task to an anonymous person who started this Request via Web Entry, the settings described below are disabled because these Form Task element settings only configure which authenticated Workflow user(s) may assigned this Task. Therefore, to configure these settings, either disable Web Entry or select that authenticated Workflow users may start Requests from this element via Web Entry.

To allow the same anonymous person who started that Request or which authenticated Workflow users may be assigned the Form Task element's Task via a published URL, do not configure those persons from the **Assignment Rules** panel.&#x20;

{% hint style="info" %}
[Permissions are required to do this.](#permissions-required)
{% endhint %}

Follow these steps to select to whom to assign the Task that is referenced in a step:

1. Ensure that the **Hide Menus** button<img src="https://4147840757-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-McX7LDFoA79C_OnUj-V%2F-Mcb8AvYPEhtWiAczJ-j%2F-McbI7sgOtS-t0jetpT_%2FHide%20Menus%20button%20Process%20Modeler%20-%20Processes.png?alt=media&#x26;token=d1af2985-579e-4503-b23d-f76188b42456" alt="" data-size="line">is not enabled.&#x20;
2. Expand the **Assignment Rules** panel if it is not presently expanded. The **Assignment Type** setting displays. &#x20;

   <img src="https://4147840757-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-McX7LDFoA79C_OnUj-V%2F-Mcb8AvYPEhtWiAczJ-j%2F-McbID4bCkClJ1_jcizp%2FAssignment%20Assignee%20Task%20Process%20Modeler%20-%20Processes.png?alt=media&#x26;token=cfb8dd9b-0c58-4022-ab91-876d7c8203c6" alt="" data-size="original">
3. From the **Assignment Type** drop-down menu, select one of the following options:
   * **Request Starter:** Select **Request Starter** to assign the Task to the Request starter. This is the default option.
   * **Users / Groups:** Select **Users/Groups** to randomly assign the Task to a specified Workflow user or group member. When this option is selected, the **Assigned Users/Groups** drop-down menu displays below the **Assignment Type** drop-down menu. &#x20;

     <img src="https://4147840757-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-McX7LDFoA79C_OnUj-V%2F-Mcb8AvYPEhtWiAczJ-j%2F-McbIJUszp-1QSsCM-xh%2FAssignment%20Assignee%20User%20Task%20Process%20Modeler%20-%20Processes.png?alt=media&#x26;token=6c37802b-12ff-4f8f-98c8-c235bf184c2a" alt="" data-size="original">

     From the **Assigned Users/Groups** drop-down menu, select the person's full name or the name of a group as the Form Task element's assignee. Workflow assigns the Task to one Workflow user/group member randomly.
   * **Previous Task Assignee:** Select **Previous Task Assignee** to assign the Task to who was assigned the previous Task in this Request.
   * **By User ID:** Select **By User ID** to assign the Task to a Workflow user based on a **Variable Name** value as entered into a Workflow Screen during a previous Task in that Request. For example, if a Line Input control in a Workflow Screen has the **Variable Name** value of `Name`, to contain a user's name, then use that value to thereby assign the Task to that Workflow user. When this option is selected, the **Variable Name of User ID Value** setting displays.

     In the **Variable Name of User ID Value** setting, enter the **Variable Name** value from which to reference the Workflow user to whom to assign the Task.
   * **Self Service:** Select **Self Service** to allow any member in a specified Workflow group to voluntarily self-assign any Task from a queue. When this option is selected, the **Assigned Group** drop-down menu displays below the **Task Assignment** drop-down menu.

     From the **Assigned Group** drop-down menu, select the group from which any of its members can self-assign Tasks from a queue. When this Form Task element triggers, this Task displays in the [**Self Service** Task page](https://workflow-docs.antnest.vn/requests-and-tasks/task-management/self-assign-tasks-to-yourself-from-a-queue) for all members of that Workflow group.\
     &#x20;<img src="broken-reference" alt="" data-size="original">&#x20;
4. Enable the **Lock task assignment to user** option to assign this Task to the same Task assignee if workflow in the Request returns to this Task. If the initial Task assignee was a member of a Workflow group, the Task is reassigned to the same Workflow group member. This option is useful if the initial Task assignee in the Request might need to provide clarification regarding information that Request participant initially submitted in that Task.\ <img src="broken-reference" alt="" data-size="original">&#x20;
5. Enable the **Allow Reassignment** option to allow the Task assignee to reassign the Task if necessary. If the **Allow Reassignment** option is enabled, the **Reassign** button displays in the Task summary to allow that Task assignee to reassign that Task. See [View a Task Summary](https://workflow-docs.antnest.vn/requests-and-tasks/task-management/view-a-task-summary).

{% hint style="info" %}
If you enable the **Allow Reassignment** option, ensure that this Task is assigned to more than one Workflow user or to a Workflow group. Otherwise, despite the availability of the **Reassign** button in the Task summary, that Task assignee has no Workflow users to which to reassign this Task unless that user started that Request.
{% endhint %}
