AGENTSTATE

Deze helppagina is voor Studio. Deze informatie is ook beschikbaar voor Desktop Studio.

Ondersteunde scripttypen

Een vierkant waaruit een lijnvertakking komt die naar drie andere vierkanten gaat.

Icon of gray-green envelope

Icon of dark green speech bubble

Icon of purple telephone handset

``` Icon of rust-colored voicemail symbol of two circles joined by a line ```

Icon of pink document with lines of text

Pictogram van een groene mobiele telefoon met een spraakballon op het scherm

Generiek

E-mail Chat Telefoon Voicemail Werkitem SMS

Invoer Eigenschappen

Deze eigenschappen definiëren gegevens die de actie gebruikt bij het uitvoeren.

Variabele

Beschrijving

Bijschrift toevoegen

Voer een korte woordgroep in die deze actie in het script uniek identificeert. Het bijschrift verschijnt op het scriptcanvas onder het actiepictogram.

Agent-id De agent-id. Enter een Id of type om een specifieke Agent te vinden. U kunt een variabele gebruiken voor dit veld, zoals {agentId}.
Statusvariabele Variable that holds the agent state, such as Available, Unavailable, and so on. De standaardinstelling is STATE.
Redenvariabele The variable that holds the specific description of the agent state.

Resultaatvertakkingsvoorwaarden

Met Resultaatvertakkingsvoorwaarden kunt u vertakkingen maken in uw script om verschillende uitkomsten te verwerken wanneer een actie wordt uitgevoerd.

Voorwaarde

Beschrijving

Standaard 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.
Beschikbaar Path taken if the agent is logged in and available.
Niet beschikbaar 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 where they will be accepting inbound consults.
OutboundConsult Path taken if the agent is in a state where they will be accepting outbound consults.
Dialer Path taken if the agent is logged in to an outbound dialing skill.
LoggedIn Path taken if the agent has logged in to the system but has not yet set the agent state.

Voorbeeld van een script

Dit is een voorbeeld dat toont hoe deze actie kan worden gebruikt in scripts. Het is niet bedoeld als een compleet script. Extra scripting kan vereist zijn.

In dit voorbeeld van een telefoonscript controleert de IF-actie of er een specifieke agent-id-waarde bestaat. Indien dit het geval is (TRUE), controleert Agentstate de beschikbaarheid van die agent. Als die Agent beschikbaar is, vraagt Reqagent die specifieke Agent aan. zo nee, dan gaat de oproep (via Runsub) naar het script dat wordt gebruikt om een bericht in te spreken.

Example script using the Agent State action

Dit script downloaden.