AGENTSTATE
Esta página de ajuda é para Studio. Estas informações também estão disponíveis para Desktop Studio.
|
|
Verifica o status de um agente específico |
Tipos de script suportados
|
|
|
|
|
|
|
|
|
Genérico |
Chat | Telefone | Correio de voz | Item de trabalho | SMS |
Propriedades de entrada
Estas propriedades definem dados que a ação usa durante a execução.
|
Propriedade |
Descrição |
|---|---|
|
Adicionar legenda |
Insira uma frase curta que identifique exclusivamente esta ação no script. A legenda aparece na tela do script no ícone da ação. |
| Id do agente | O id do agente.Digite um ID ou tipo para localizar um agente específico. Você pode usar uma variável para esse campo, como |
| Variável de estado |
Variable that holds the agent state |
| Variável de motivo | The variable that holds the specific description of the agent state. |
Condições do ramo de resultado
As condições de ramificação de resultado permitem que você crie ramificações no seu script para tratar diferentes resultados quando uma ação é executada.
|
Condição |
Descrição |
|---|---|
| Padrão | 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. |
| Disponível | Path taken if the agent is logged in and available. |
| Indisponível | 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. |
| Discador | 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. |
Exemplo de script
Este é um exemplo para mostrar como essa ação pode ser usada em Scripts. Ele não é voltado para um script inteiro. Pode ser necessário um script adicional.
Neste script de telefone de exemplo, a ação SE verifica se existe um valor de id do agente específico. Se sim (VERDADEIRO), então Agentstate verifica a disponibilidade desse agente. Se esse agente estiver disponível, Reqagent solicita esse agente específico. Se não, a chamada vai para o script (via Runsub) usado para gravar uma mensagem.