If

Bewertet einen Ausdruck und nimmt eine Verzweigung je nach Ergebnis der Bewertung (True oder False). Sie können auch eine IF-Anweisung in einer Snippetaction- in Ihrem Skript erstellen.

 

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.

Allgemein

E-Mail Chat Telefon Voicemail Arbeitselement SMS Digital

Input Properties

Diese Eigenschaften definieren Daten, die von der Aktion bei der Ausführung verwendet werden.

Eigenschaft

Beschreibung

Caption Ändern Sie den Wert für Caption in Text, der diese Aktion im Skript eindeutig identifiziert. Der IVR-Drückpfad-Bericht enthält den Namen und die Beschriftung der Aktion. Beschreibende, eindeutige Beschriftungen sorgen dafür, dass Berichte einfacher zu lesen und zu verstehen sind.Use only for BEGIN CASE IF IVRLOG MENU and REQAGENT
Expression Die Auswertung eines Wertes, um festzustellen, ob der Ausdruck TRUE oder FALSE ist. Beispiel: TOTAL=>0 (Gesamtsumme gleich oder größer als 0).

Result Branch Conditions

Mit Bedingungen für Ergebnisverzweigungen können Sie in Ihrem Skript Verzweigungen erstellen, die für unterschiedliche Ergebnisse bei der Ausführung einer Aktion vorgesehen sind.

Bedingung

Beschreibung

True

Genommener Pfad, wenn der Ausdruck wahr ist.

False

Genommener Pfad, wenn der Ausdruck falsch ist.

Script Example

Bei diesem Beispiel handelt es sich nicht um ein vollständiges Skript. Zur Verwendung dieser Aktion muss das Skript vervollständigt werden.

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?