End

Terminates a script as long as that script did not already place an outbound call.

Supported Script Types

Generic Email Phone Voicemail Work Item SMS

Properties

None

Branches

Branch Details
Default Path taken unless the script meets a condition that requires it to take one of the other branches. It is also taken if the other branches are not defined.

Tips & Tricks

  • End should be used to terminate the logic flow of an active script and invoke the Onrelease action; therefore, it should not be used on the Onrelease event logic.
  • End can be used in a phone script if the outbound call does not connect. Do not make the mistake of thinking End cannot be used in a phone script. As long as the outbound call did not connect, End can still be used.
  • If the Placecall action has executed, use Hangup rather than End; otherwise the call will not be properly released.
  • Exit should be used to terminate chat scripts.

Similar Solutions

Phone Script Example Using End

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?