Skip to main content


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

The SetAgentNotReady activity

Updated on October 7, 2021

This activity is used to set the agent state to a Not Ready state. When the state is Not Ready, then the agent does not receive calls from the queue. However, the agent must be logged into at least one queue before this method is invoked.

When this request to make the agent not ready is successful, no status and no properties are updated. When there is an error on the request, the status is set to Fail and the status message contains an error message.

You can see these properties on the primary page of the clipboard:

Property NameDescription
QueueSpecifies which queue to log the agent into. You can configure to agents to log in and log out of specific queues. If this property is left blank, then the agent will be logged into the queues specified by the CTI server or Automatic Call Distributor (ACD) queue. This is an optional property
AgentOptionsProperty page that contains the reason code for logging the agent out. This is an optional property.
AgentIDThe agent ID on the ACD or Queue. This is a required property that is populated on the page during login.
  1. On the AgentState property page, set the NotReady equivalent state of the CTI Server.
    If the agent selects a reason code, then the OpenCTI adapter sets this value on the AgentOptions embed page on pyOpenCTI.pyReasonCode property. In case of After Call Work, the WorkMode property on Adapter page will be set to AFTER_CALL_ WORK by OpenCTI adapter. OpenCTI Implementation should set equivalent state of CTI Server on AgentState property.
  2. Set other CTI server-specific properties that need to be sent in Agent State change request.
  3. Build a request appropriate for your connector.
  4. Invoke the appropriate request to the CTI Server using Pega Platform 8.6 integration connector.
  5. Identify errors and handle it as discussed in Handling Errors.

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