Using Agent Affinity

  • Release version: Yokohama
  • Updated January 30, 2025
  • 2 minutes to read
  • Summarize
    Summarized using AI
    This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.

    Summary of Using Agent Affinity

    Agent Affinity is an Advanced Work Assignment (AWA) feature in ServiceNow Yokohama release that enhances the work assignment process by factoring in an agent’s work history, related tasks, or account team roles. While AWA typically assigns work based on agent availability, capacity, and skills, Agent Affinity customizes this process to ensure that work items are routed to the most suitable agent—often the same agent who previously handled similar or related work. This improves continuity and customer experience by avoiding repeated orientation with new agents.

    Show full answer Show less

    Important: Agent Affinity rules augment but do not override existing assignment eligibility or constraints defined in AWA rules.

    Key Features

    • Types of Agent Affinity:
      • Historical: Assigns work to agents based on past service history with the same customer.
      • Related Task: Assigns work based on previous assignments of related tasks.
      • Account Team: Assigns work based on an agent’s role or responsibility within the customer’s account team (available only for Customer Service Management customers).
    • Affinity Rules and Queues: Up to three affinity rules can be associated with each AWA queue, and the order of these rules determines the priority in agent selection.
    • Example Workflow: When a customer initiates a new interaction, AWA first tries to assign the work to an agent based on related task affinity. If that agent is unavailable, it tries account team affinity, and finally historical affinity, assigning to the best available agent with capacity at each step.

    Practical Use for ServiceNow Customers

    • Configure Agent Affinity rules to tailor how work items are routed within AWA queues, improving assignment accuracy and customer satisfaction.
    • Set the priority order of affinity rules to reflect your business needs and agent roles.
    • Deactivate Agent Affinity if you prefer to assign work solely based on standard AWA criteria without affinity considerations.
    • Leverage Agent Affinity especially in Customer Service Management scenarios to maintain consistent agent-customer relationships and faster issue resolution.

    Next Steps

    • Create or modify Agent Affinity rules in your instance to align with your support model.
    • Associate affinity rules correctly with AWA queues and define their priority order.
    • Monitor agent availability and capacity to ensure effective utilization of affinity-based assignments.

    Agent Affinity is an Advanced Work Assignment feature that lets you assign work items by an agent's work history, related task, or account team affinity.

    Advanced Work Assignment assigns work items to agents by their availability, capacity, and skills. You can use Agent Affinity to customize this AWA assignment process and identify the agent best suited for the work item. Agent Affinity ensures that the same agent is assigned to a similar work item instead of orienting a new agent every time.

    Note:
    Agent Affinity rules do not override assignment eligibility or constraints that are specified on AWA assignment rules.
    The types of affinities are:
    Historical
    Identifies the best agent based on the agent's history of serving the same customer.
    Related task
    Identifies the best agent based on the agent's past assignments of related tasks.
    Account team
    Identifies the best agent based on the agent's responsibility or role in the account team.
    Note:
    Account team affinity is available only to Customer Service Management customers.
    Affinity rules are associated with AWA queues. Up to three rules can be associated with each queue. The affinity order determines how the assignment engine ranks the agents. The agent with the higher order affinity rule is considered as the best agent first.

    The following example shows how AWA uses Agent Affinity to determine the best agent for a work item. In this example, AWA is configured to use all three affinities in this order: related task affinity, account team affinity, and historical affinity. George Warren, who is a customer at the Boxeo company, has a router problem. George previously contacted support to report an issue. That case was assigned to agent Ned. The primary support agent for Boxeo is agent John. Within the past seven days, another agent, agent Beth, addressed a chat with Boxeo.

    The next time George initiates a customer service chat from the case page, the case is automatically added as a related task to the chat interaction. Agent Affinity uses the related task affinity to look for an agent who has fulfilled past assignments for a related task. Because agent Ned was assigned to a related task on the record, AWA assigns the work item to agent Ned if available with capacity.

    Figure 1. Example of related task affinity
    Agent Affinity configured to use related task affinity.

    If agent Ned is unavailable or doesn't have the capacity, AWA uses the account team affinity. AWA looks for another agent based on an agent's responsibility or role in the account team. Because agent John is the primary support agent for the Boxeo company, AWA assigns the work item to Agent John if available with capacity.

    Figure 2. Example of account team affinity
    Agent Affinity configured to use account team affinity.
    If agent John is not available, AWA uses the historical affinity and looks for an agent that has recently interacted with the company. This information is stored on the Agent Affinity screen. Because agent Beth addressed a chat with Boxeo within the past seven days, AWA assigns the work item to agent Beth if available with capacity.
    Figure 3. Example of historical affinity
    Agent Affinity configured to use historical affinity.