Loop

Voert een Repeat-vertakkingsvoorwaarde een bepaald aantal keren uit (in een 'lus').

De Repeat-vertakking wordt zo vaak uitgevoerd als is ingesteld door de Repeat-eigenschap. Als Repeat bijvoorbeeld 5 is, worden er precies 5 herhalingen van de acties volgend op de Repeat-vertakkingsvoorwaarde uitgevoerd. Nadat het ingestelde aantal herhalingen van de Repeat-vertakking is uitgevoerd, wordt bij de eerstvolgende uitvoering van Loop, de Finish-vertakking getriggerd.

In een IVRGesloten Interactive Voice Response: een telefoonmenu waarmee bellers via telefoontoetsen en/of gesproken opdrachten keuzes kunnen maken en/of informatie kunnen invoeren.-menu kunt u bijvoorbeeld een Loop toevoegen zodat contacten het opnieuw kunnen proberen als een op een ongeldig nummer drukken. U kunt de loop instellen om contacten drie pogingen te geven voordat u ze verzendt naar een operator.

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

Repeat Het aantal keren dat de loop wordt herhaald voordat de OnFinished-vertakking wordt genomen.
CounterName De naam van een variabele die de huidige waarde van FromValue plus Step moet bevatten.

Result Branch Conditions

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

Voorwaarde

Beschrijving

OnFinished

Het pad dat wordt gevolgd als het aantal herhalingen het opgegeven aantal overschrijdt.

OnRepeat

Het pad dat wordt gevolgd als het huidige aantal herhalingen kleiner is dan of gelijk is aan het opgegeven aantal.

Script Example

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

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?