Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

The agentReady function

Updated on January 10, 2022

This function is used to set the agent state to Available. When the state is set to Available, the CSR receives calls from the call queue. The CSR must be logged in to at least one queue before this function is invoked.

To enable sending Available requests to the CTI server, implement the agentReady JavaScript function in your implementation layer.

This function uses the following parameters:

Parameters of the agentReady function

ParameterDescription
agentIdThe agent ID on the automatic call distributor (ACD) s a required parameter and is populated during the login request.
workModeThe work mode status of the target CSR
optionsThe parameter that holds optional properties that are implementation-specific
successThe callback function that is invoked on success
failureThe callback function that is invoked on failure

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us