---
schema_version: "1"
id: 7882050296c3c12728b06b40ad4cccdc81ee8796595106dad55aa287737ca6d1
title: PendingServiceRoutingInteractionInfo
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_pendingserviceroutinginteractioninfo.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_pendingserviceroutinginteractioninfo.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 6031b66a617ba87ca958f7a3589f42b00dee67a51367d6f18b96ed7337c29782
description: Represents PendingServiceRouting interaction information that’s used when work is routed to an agent. For a screen pop, it specifies which records to open when work is routed to an agent from a specific channel. PendingServiceRoutingInteractionInfo is read-only. This object is available in API version 53.0 and later.
---
# PendingServiceRoutingInteractionInfo

Represents PendingServiceRouting interaction information that’s used when work is routed to an agent. For a screen pop, it specifies which records to open when work is routed to an agent from a specific channel. PendingServiceRoutingInteractionInfo is read-only. This object is available in API version 53.0 and later.

## Supported Calls

describeSObjects(), query(), retrieve()

## Special Access Rules

To access this object, [Omni-Channel](https://help.salesforce.com/articleView?id=omnichannel_intro.htm&type=5&language=en_US) must be enabled. To view this object, you must have the “Manage Flow” user permission.

## Fields

| Field | Details |
| --- | --- |
| IsFocused | 
Type

boolean

Properties

Defaulted on create, Filter, Group, Sort

Description

Indicates whether this record shows on the agent’s screen when multiple records open at the same time.



 |
| Name | 

Type

string

Properties

Autonumber, Defaulted on create, Filter, idLookup, Sort

Description

The name of the PendingServiceRoutingInteractionInfo.



 |
| PendingServiceRoutingId | 

Type

reference

Properties

Filter, Group, Sort

Description

The ID of the [PendingServiceRouting](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_pendingservicerouting.htm "Represents the routing details of a work item that’s waiting to be routed or assigned. This object is available in API version 40.0 and later.") from which the [AgentWork](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_agentwork.htm "Represents a work assignment that’s been routed to an agent. If the work is transferred to another agent, a new AgentWork record is created. This object is available in API version 32.0 and later.") is created.

This is a relationship field.

Relationship Name

PendingServiceRouting

Relationship Type

Lookup

Refers To

PendingServiceRouting



 |
| PrimaryRecordId | 

Type

reference

Properties

Filter, Group, Sort

Description

The ID of the object that’s routed to the agent through Omni-Channel.

Relationship Name

PrimaryRecord

Relationship Type

Lookup



 |
| TargetFlowName | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The API name and namespace prefix, if any, of the screen flow to open when work is routed to the agent. This field and the TargetFlowId field can't be populated at the same time. Available in API version 57.0 and later.



 |
| TargetObjectId | 

Type

reference

Properties

Filter, Group, Nillable, Sort

Description

The record to open when work is routed to the agent. This field is required in API version 56.0 and earlier. In API version 57.0 and later, this field is optional and can’t be populated at the same time as the TargetFlowName field.

Relationship Name

TargetObject

Relationship Type

Lookup



 |