If

Evalueert een -expressie en volgt een bepaalde vertakking gebaseerd op de uitkomst van de evaluatie (true of false). U kunt ook IF -verklaring maken in een Snippet action in uw script.

 

Supported Script Types

The icon for a Generic script type - a rectangle with < and > symbols inside it.

The icon for the Email script type - a large @ symbol in a diamond.

The icon for the Chat script type - a chat bubble with an ellipsis inside (...), in a diamond shape.

The icon for the Phone script type - an old-style phone handset with curved lines indicating sound coming out of it.

The icon for the Voicemail script type - a symbol that looks like a cassette tape - two circles sitting on a horizontal line.

The icon for the Work Item script type-a piece of paper with one corner folded down and a bullet list on it.

The icon for the SMS script type - a smart phone with a chat bubble coming out of it.

The icon for the Digital script type - a computer monitor with a smartphone next to it.

Generiek

E-mail Chat Telefoon Voicemail Werkitem SMS Digitaal

Input Properties

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

Vertakking

Beschrijving

Caption Wijzig het Caption naar een uniek bijschrift voor deze actie in het script. De Rapport IVR-selectiepad bevat de actienaam en het bijschrift. Beschrijvende, unieke bijschriften maken de rapporten leesbaarder en begrijpelijker.Use only for BEGIN CASE IF IVRLOG MENU and REQAGENT
Expression Een evaluatie van een waarde om te bepalen of de expressie TRUE of FALSE is. Bijvoorbeeld, TOTAL=>0 (Totaal is gelijk aan of groter dan 0).

Result Branch Conditions

Met Resultaatvertakkingsvoorwaarden kunt u vertakkingen maken in uw script om verschillende resultaten te behandelen wanneer de actie wordt uitgevoerd.

Voorwaarde

Beschrijving

True

Het pad dat wordt gevolgd als de expressie True oplevert.

False

Het pad dat wordt gevolgd als de expressie False oplevert.

Script Example

Dit voorbeeld is geen volledig script. Er is extra scriptwerk vereist om deze actie te gebruiken.

When this script is triggered, the number of available agents are counted. The If action uses the expression TOTAL>0 to determine which branch to take. If the total number of available agents is greater than 0, a menu will provide options to the caller. If the total number of agents is not greater than 0, then a message will play and the script will hang up the call.

Would you like to download this script?