End

Beëindigt een script.

De werking van deze actie is afhankelijk van het scriptmediatype. Het is van belang om deze actie alleen te gebruiken in ondersteunde mediatypen. Zie de gedeeltes Afhankelijkheden en Soortgelijke acties voor meer informatie.

Dependencies

  • Als u End gebruikt in een script met een niet-ondersteund mediatype, worden mogelijk niet alle processen of het contact correct beëindigd. Het beëindigen van achtergrondprocessen is een belangrijke functie van het beëindigen van acties. Daarom is het belangrijk om de actie te gebruiken die het meest geschikt is voor het mediatype van uw script:
    • Voor inbound telefoonscripts kunt u End gebruiken, mits de oproep nog niet is verbonden. Als een oproep is verbonden, kunt u met de actie Hangup het script beëindigen.
    • Voor outbound telefoonscripts kunt u End gebruiken, tot het moment dat de actie Placecall wordt uitgevoerd. Als de oproep is verbonden, kunt u met de actie Hangup het script beëindigen.
    • Voor chatscripts gebruikt u Exit om het script te beëindigen.
    • Voor e-mailscripts gebruikt u Discard om het script te beëindigen.
    • Voor digitale scripts kunt u alleen End gebruiken om het script te beëindigen. Deze actie beëindigt het contact niet. Digitale contacten blijven bestaan in Digital First Omnichannel. Voor alle andere scripttypen worden met End zowel het script als het contact beëindigt.
  • Als u End gebruikt in een subscript, worden zowel het subscript als het oorspronkelijke script beëindigt. Gebruik de actie Return als u wilt dat alleen het subscript wordt beëindigd en het oorspronkelijke script blijft werken.
  • End moet worden gebruikt om de logische flow van een actief script te beëindigen en de OnRelease-gebeurtenisactie aan te roepen. Daarom mag het niet worden gebruikt na de OnRelease-gebeurtenislogica.

Supported Script Types

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

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

Telefoon Voicemail Werkitem SMS Digitaal

Comparison of Similar Actions

Gebruik de Stop -actieaction niet om een script te beëindigen. Deze actie beëindigt het script niet en laat contacten actief blijven. Dit heeft negatieve gevolgen voor de CXone-servers.

Input Properties

None

Result Branch Conditions

None

Script Example

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

This script shows a very simple example in which End is used in a phone script, but the outbound call was never placed because an error occurred. If the error had not occurred, Placecall would have been triggered, and you would have used Hangup in a different branch. Refer to Placecall to see an example of using Hangup in a phone script.

Would you like to download this script?