END
![]() |
Terminates a script as long as that script did not already place an outbound call. |
Supported Script Types
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Generic | Chat | Phone | Voicemail | Work Item |
Properties
None
Branches
- Default
- This is the only branch available because END terminates the script.
Tips and 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. The following script shows a good example vs a bad example:
![]() |
![]() |
Bad Script Example | Good Script Example |
- 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 been executed, use HANGUP rather than END; otherwise the call will not be properly released.
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?