Loop

Führt eine wiederholte Verzweigungsbedingung so oft aus, wie angegeben.

Die Repeat-Verzweigung wird so oft ausgeführt, wie in der Eigenschaft Repeat angegeben. Beispiel: Wenn Repeat auf 5 eingestellt ist, werden die Aktionen nach der Verzweigungsbedingung Repeat genau fünfmal wiederholt. Nachdem die in der Repeat-Verzweigung festgelegten Iterationen durchgeführt wurden, wird beim nächsten Ausführen von Loop die Finish-Verzweigung ausgelöst.

Beispielsweise können Sie in einem IVRGeschlossen Automatisiertes Telefonmenü, das es Anrufern ermöglicht, durch Sprachbefehle, Tasteneingaben oder beides zu interagieren, um Informationen zu erhalten, einen eingehenden Sprachanruf weiterzuleiten oder beides.-Menü eine Loop-Aktion hinzufügen, damit Kontakte die Eingabe erneut versuchen können, wenn sie eine ungültige Nummer gedrückt haben. Sie können die Schleife so einrichten, dass Kontakte drei Versuche haben, bevor sie an einen Agenten weitergeleitet werden.

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

Repeat Wie oft die Schleife wiederholt wird, bevor die Verzweigung OnFinished genommen wird.
CounterName Name einer Variablen, die den aktuellen Wert von FromValue erhalten soll, zusätzlich zu Step.

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

OnFinished

Genommener Pfad, wenn die Anzahl von Repeat den angegebenen Wert überschreitet.

OnRepeat

Genommener Pfad, wenn die aktuelle Anzahl für Repeat gleich oder kleiner als die angegebene Zahl 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.

fter the script is triggered, Voiceparams sets the text-to-speech voice and Hours sets the hours of operation (using the Hours of Operation profile). When the script reaches the Menu action, a message is played, asking the caller to press 1 to request an agent. If 1 is not pressed in 5 seconds (set in the Menu Timeout property), then the Loop will be triggered, at which time a message will play, telling the contact to try again. The loop will occur three times, and on the fourth time, the loop will follow the Finished branch instead of the Repeat branch. On the Finished branch, a different message will play, telling the contact to call back later and then hangs up the call.

Would you like to download this script?

In a simple event, when a call is placed on hold a loop will occur in which music plays, followed by a message, followed by music and another message and so on until the call is taken off hold.

Would you like to download this script?