Newer Version Available

This content describes an older version of this product. View Latest

PendingServiceRouting

Represents a work assignment that’s waiting to be routed. This object is available in API version 40.0 and later.

Supported Calls

query(), getDeleted(), getUpdated(), retrieve()

Fields

Field Details
CapacityPercentage
Type
double
Properties
Filter, Nillable, Sort, Update
Description

Indicates the amount of work that this item represents as a percentage. Valid values are 0–100.

CapacityWeight
Type
double
Properties
Filter, Nillable, Sort, Update
Description

Indicates the amount of work that this work item represents as a whole number.

CustomRequestedDatetime
Type
dateTime
Properties
Filter, Nillable, Sort, Update
Description
Retains the datetime of a work item’s initial request, so work items are rerouted using the datetime of the initial work request. When left blank, work items are rerouted using the datetime when they were rerouted.
IsPushAttempted
Type
boolean
Properties
Defaulted on create, Filter, Group, Sort
Description
Indicates whether a push has been attempted. true if an agent was chosen at least once to route this PendingServiceRouting; false otherwise.
IsPushed
Type
boolean
Properties
Defaulted on create, Filter, Group, Sort
Description
Indicates whether the PendingServiceRouting is pushed to an agent.
IsReadyforRouting
Type
boolean
Properties
Defaulted on create, Filter, Group, Sort
Description

Indicates whether the work item is ready to be routed to an agent. You can’t edit a PendingServiceRouting object that is set to True.

IsTransfer
Type
boolean
Properties
Defaulted on create, Filter, Group, Sort
Description
Indicates whether this PendingServiceRouting is a transfer request.
LastDeclinedAgentSession
Type
string
Properties
Filter, Group, Nillable, Sort
Description
Live Agent Session ID of the agent who last declined this work item.
Name
Type
string
Properties
Defaulted on create, Filter, Sort
Description
Name of the PendingServiceRouting.
OwnerId
Type
reference
Properties
Filter, Group, Sort
Description
The ID of the owner of this PendingServiceRouting.
QueueId
Type
reference
Properties
Filter, Group, Nillable, Sort
Description
The ID of the Omni-Channel queue.
RoutingModel
Type
picklist
Properties
Filter, Group, Nillable, Sort
Description
Type of routing model. For a queue configured with a queue routing configuration, the routing model is ExternalRouting for all external routing PendingServiceRouting.
RoutingPriority
Type
int
Properties
Filter, Group, Nillable, Sort
Description

The order in which work items are routed to agents.

RoutingType
Type
string
Properties
Filter, Group, Nillable, Sort
Description

Indicates whether the work item is routed by queue or by skills-based routing. Valid values are SkillsBased | Queue.

Serial
Type
int
Properties
Filter, Group, Nillable, Sort
Description
Serial number of the PendingServiceRouting. The serial number is automatically incremented each time the PendingServiceRouting is modified.
ServiceChannelId
Type
reference
Properties
Filter, Group, Sort
Description
ID of the Service Channel.
WorkItemId
Type
reference
Properties
Filter, Group, Sort
Description
ID of the work item.

Usage

When you use PendingServiceRouting objects for queue-based routing, the PendingServiceRouting objects don’t invoke before insert triggers.

Sharing rules aren’t supported with PendingServiceRouting even if the OwnerId field is enabled.