setAgentStatus

Set status information for the rep.

Signature

setAgentStatus(agentStatus, agentStatusInfo) → Promise.<GenericResult>

Parameters

Field Details
agentStatus
Type
string
Description
The rep status, as configured in Salesforce.
agentStatusInfo
Type
object
Description
Additional information about the rep status.
enqueueNextState
Type
boolean
Description
Indicates whether the state should be enqueued, which updates the rep’s status after a call ends. Defaults to false.