AGENTSTATE

Esta página de ayuda es para Studio. Esta información también está disponible para Desktop Studio.

Tipos de secuencias de comandos compatibles

Un cuadrado del que sale una línea que va a otros tres cuadrados.

Icono de un sobre verde grisáceo

Icono de burbuja de diálogo verde oscuro

Ícono de auricular de teléfono violeta

Icono de símbolo de correo de voz de color óxido con dos círculos unidos por una línea

Icon of pink document with lines of text

Icono de un teléfono móvil verde con un globo de diálogo en su pantalla

Genérico

Correo electrónico Conversación Teléfono Mensaje de voz Elemento de trabajo SMS

Propiedades de entrada

Estas propiedades definen los datos que utiliza la acción al ejecutarse.

Propiedad

Descripción

Agregar leyenda

Introduzca una frase corta que identifique de forma única esta acción en el script. La leyenda aparece en el lienzo del script debajo del ícono de acción.

Id de agente El id de agente. Ingrese un ID o escriba para buscar un agente específico. Puede usar una variable para este campo, como {AgentId}.
State Variable Variable that holds the agent stateClosed The availability status of an agent., such as Available, Unavailable, and so on. El valor predeterminado es estado.
Variable de motivo The variable that holds the specific description of the agent state.

Condiciones de rama de resultado

Las condiciones de las ramas de resultado le permiten crear ramas en su script para manejar diferentes resultados cuando se ejecuta una acción.

Condición

Descripción

Por defecto Path taken unless the script meets a condition that requires it to take one of the other branches. It is also taken if the action's other branches are not defined.
NotLoggedIn Path taken if the agent is not logged in.
Disponible Path taken if the agent is logged in and available.
No disponible Path taken if the agent is logged in but not available.
InboundContact Path taken if the agent is logged in and engaged with an inbound contact.
OutboundContact Path taken if the agent is logged in and engaged with an outbound contact.
InboundConsult Path taken if the agent is in a stateClosed The availability status of an agent. where they will be accepting inbound consults.
OutboundConsult Path taken if the agent is in a state where they will be accepting outbound consults.
Marcador Path taken if the agent is logged in to an outbound dialing skill.
Conectado Path taken if the agent has logged in to the system but has not yet set the agent state.

Ejemplo de Script

Este es un ejemplo para demostrar cómo se puede utilizar esta acción en los scripts. No pretende ser un script completo. Es posible que se requiera scripting adicional.

En este ejemplo de secuencia de comandos de teléfono, la acción IF comprueba si un valor de id de agente específico existe. Si es así (TRUE), entonces Agentstate verifica la disponibilidad de ese agente. Si ese agente está disponible, Reqagent solicita a ese agente específico. Si no, la llamada va al guión (a través de Runsub) que se utiliza para grabar un mensaje.

Ejemplo de script que usa la acción Agent State

Descargue este script.