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
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 currently pushed to an agent.
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.
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

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