AGENTSTATE
Esta página de ayuda es para Studio. Esta información también está disponible para Desktop Studio.
|
|
Comprueba el estado de un agente específico. |
Tipos de secuencias de comandos compatibles
|
|
|
|
|
|
|
|
|
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 |
| State Variable |
Variable that holds the agent state |
| 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 state |
| 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.
Descargue este script.