Depending on your needs and business processes, you can assign tasks to agents in two ways:
- manually by specifying the values of the Assignment group and Assigned user fields.
- using the task auto assignment engine. The engine allows you to automate task assignments by various criteria, defined by conditions and assignment types, and implement business logic before a task is assigned. Tasks auto assignment allows you to balance employee workload and create different rules for different kinds of tasks.
Manual assignment
The "out-of-the-box" solution has preconfigured restrictions for assigning users or groups depending on the values of relevant fields. The reference restrictions for Assignment Group and Assigned User fields in the Task and ITSM Task tables are defined within the dynamic filters. These filters are stored in the Filter Option Dynamic (sys_filter_option_dynamic) table. From the ITSM Task table, the restrictions are inherited by the incident, user query, problems, request, change request tables.
Dynamic filter | Table | Description | |
---|---|---|---|
List of users based on assigned group | Task | If you specify an assignment group, you can assign only an employee who belongs to this group in the Assigned user field. If you do not specify an assignment group, you can select any employee record in the Assigned user field. | |
List of groups based on assigned user. | Task | If you specify an assigned user, you can only select the group the user belongs to in the Assignment group field. If you do not specify an assigned user, you can select any group in the Assignment group field. | |
List of ITSM_agent on assigned group | ITSM Task | If you specify an assignment group, you can select only an employee that is in this group and has the admin or ITSM_agent role in the Assigned user field. If you do not specify an assignment group, you can select any employee that is in this group and has one of these roles in the Assigned user field. |
Create an assignment rule
Role required: admin.
To create a new assignment rule, complete the steps below:
- Navigate to Auto Assignment → New Rule.
- Click New and fill in the fields.
- Click Save or Save and exit to apply the changes.
Keep in mind that a task auto assignment only triggers new record creation. The auto assignment rules cannot be configured to handle record update events. For example, the auto assignment does not work when the state or any other field value changes.
Auto Assignment Rule form fields
Field | Mandatory | Description |
---|---|---|
Name | Y | Specify the assignment rule name. |
Description | N | Type a description of the assignment rule. |
Table | Y | Specify the table extending from the Task table and containing the objects to assign (like incidents, requests, and so on). |
Assignment type | Y | Specify the assignment type. Available options:
If you use the Load Balancer assignment type, you need to configure a load balance element. This element defines which tasks to consider as completed ones. If not defined, the balancer takes into account all task records that are assigned to users. Consider a case when a load balance element is not created:
Since the load balancer cannot define which tasks are completed and which ones are not, all new tasks are assigned to Barbara Wilson because loader considers John more loaded in comparison to Barbara and counts all tasks assigned to him for 10 years. But if a load balance element definesthe records in the Closed state as "completed", the load balancer ignores these tasks. |
Assigning to inactive user | N | Сhoose the system response options if a user who the task should be assigned to is inactive. The available choice options:
|
Warning | Y | Specify a warning message. The default value is "Task is assigned to inactive user". This field only appears if the Display warning option is selected in the Assigning to inactive user field. |
Condition | Y | Define the conditions to meet before the assignment rule is triggered. Use the condition builder to configure a filter that suits your needs. You can create complex AND and OR filters with more than one condition in one filter. If you need to configure a general rule (for example, to assign all tasks to a specified employee), use a workaround by specifying a common condition like: Сondition ID is not empty |
Assigned group | Y | Specify a group that is responsible for this kind of tasks. If several groups can work on a task, add a relevant condition, for example: When a responsible group is assigned, the Assigned user field becomes non-mandatory. |
Assigned user | Y | Specify a person that is responsible for this kind of tasks. This field only appears when the Custom option in the Assignment type field is selected. When a responsible user is assigned, the Assignment group field becomes non-mandatory. |
Active | N | Select this checkbox to activate this rule. |
Use script | N | Select this checkbox to specify the script that implements the advanced assignment logic. You can script actions for assigning users and/or groups. This checkbox only appears when the Custom option in the Assignment type field is selected. |
Watcher | N | Reference to a business rule containing the assignment logic (conditions, groups, and so on). This rule is automatically created when the form is saved. The relevant field is also populated with the business rule ID automatically. You can manage this business rule later in an appropriate section (System Settings → Business Rules). |
Group script | N | Specify the script that implements an advanced logic for a group assignment. This field appears when the Use script checkbox is selected. |
User script | N | Specify a script that implements an advanced logic for a user assignment. This field appears when the Use script checkbox is selected. |
The server-side business logic may not work for system tables if the creation or updating of records is initiated by the backend. For example, an Import Set is created as part of loading an Import Source, or an Email is created as a result of a notification rule, and so on.
A list of table examples for which server-side business logic may not work:
- Main Log (sys_log)
- Script Log (sys_log_script)
- Exception Log (sys_log_exception)
- Record Deletion Log (sys_record_deletion_log)
- Import Set (sys_import_set)
- Activity Feed Item (sys_activity_feed_item)
- Email (sys_email)
Load balancer elements
If you create a Load Balancer assignment type, define which tasks are not taken into account while evaluating the team's load. You should exclude the completed tasks. To do so, complete the steps below:
- Open the auto assignment rule of the Load Balance type.
- In the Related Lists area, select the Load Balance Element tab.
- Click New and fill in the fields.
- Click Save or Save and exit to apply the changes.
An alternative way to create a load balance element is the following:
- Navigate to Auto Assignment → Load Balance Elements.
- Click New and fill in the fields.
- Click Save or Save and exit to apply the changes.
Load Balancer Element form fields
Field | Mandatory | Description |
---|---|---|
Autoassignment rule | Y | Reference to the auto assignment rule for which this configuration is done. If you create an element out of the related list, this field is populated automatically. |
Completed states | N | Specify the states that can be defined as "completed". All other states related to this rule will be considered "incomplete". You can specify more than one state in this field. |
You can find an example with filled fields in the screenshot below.
Round Robin elements
The Round Robin Element table stores information about the next group member to be assigned to a task. The count starts with "0" (group member 1). When the Current User Count field value is equal to "1", it means that the next task will go to group member 2.
Unlike the load balance element, the system automatically creates a relevant element once the auto assignment rule is executed. The round robin element does not have to be created manually.
To create a round robin element, complete the steps below:
- Open the auto assignment rule of the Load Balance type.
- In the Related Lists area, select the Round Robin Element tab.
- Click New and fill in the fields.
- Click Save or Save and exit to apply the changes.
An alternative way to create a round robin element is the following:
- Navigate to Auto Assignment → Round Robin Elements.
- Click New and fill in the fields.
- Click Save or Save and exit to apply the changes.
Round Robin Element form fields
Field | Mandatory | Description |
---|---|---|
Autoassignment rule | Y | Reference to the auto assignment rule for which this configuration is done. If you create an element out of the related list, this field is populated automatically. |
Current user count | Y | Specify a value that defines a user to be assigned to the next task. Note that "0" here means the first employee in the queue. |
- No labels