End

스크립트를 종료합니다.

스크립트 미디어 유형에 따라 이 작업이 작동하는 방식에 약간의 차이가 있습니다. 지원되는 미디어 유형에만 이 작업을 사용하는 것이 중요합니다. 자세한 내용은 종속성유사한 작업 섹션을 참조하십시오.

Dependencies

  • 지원되지 않는 미디어 유형의 스크립트에서 End를 사용하면 모든 프로세스 또는 컨택이 제대로 종료되지 않을 수 있습니다. 백그라운드 프로세스 종료는 작업 종료의 핵심 기능입니다. 이러한 이유로 스크립트의 미디어 유형에 가장 적합한 작업을 사용하는 것이 중요합니다:
    • 인바운드 전화 스크립트의 경우 통화가 연결되지 않은 한 End를 사용할 수 있습니다. 통화가 연결되면 Hangup 작업을 사용하여 스크립트를 종료합니다.
    • 아웃바운드 전화 스크립트의 경우 Placecall 작업이 실행될 때까지 End를 사용할 수 있습니다. 통화가 연결되면 Hangup 작업을 사용하여 스크립트를 종료합니다.
    • 채팅 스크립트의 경우 Exit를 사용하여 스크립트를 종료합니다.
    • 이메일 스크립트의 경우 Discard를 사용하여 스크립트를 종료합니다.
    • 디지털 스크립트의 경우 End는 스크립트만 종료합니다. 컨택을 종료하지 않습니다. 디지털 컨택은 Digital First Omnichannel에 계속 존재합니다. 다른 모든 스크립트 유형의 경우 End는 스크립트와 연락처를 모두 종료합니다.
  • 하위 스크립트에서 End를 사용하면 하위 스크립트와 원래 스크립트가 모두 종료됩니다. 하위 스크립트를 종료하고 원래 스크립트를 계속하려면 Return 작업을 사용합니다.
  • 활성 스크립트의 논리 흐름을 종료하고 OnRelease 이벤트 작업을 호출하려면 End를 사용해야 합니다. 이러한 이유로 OnRelease 이벤트 논리 뒤에 사용하면 안 됩니다.

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.

일반

전화 음성 사서함 작업 항목 SMS 디지털

Comparison of Similar Actions

스크립트를 종료하기 위해 Stop 작업action을 사용하지 마십시오. 이 작업은 스크립트를 종료하지 않으며 컨택을 유지합니다. 이 작업은 CXone 서버에 부정적인 영향을 줍니다.

Input Properties

None

Result Branch Conditions

None

Script Example

이 예시는 완전한 스크립트가 아닙니다. 이 작업을 사용하려면 추가 스크립팅 작업이 필요합니다.

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?