If

표현식을 평가하고 평가의 결과(참 또는 거짓)에 따라 브랜치를 얻습니다. 스크립트의 Snippet action에서 IF  생성을 사용할 수도 있습니다.

 

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.

일반

이메일 채팅 전화 음성 사서함 작업 항목 SMS 디지털

Input Properties

이러한 속성은 실행할 때 작업이 사용하는 데이터를 정의합니다.

속성

설명

Caption 스크립트에서 이 작업을 고유하게 식별하는 것으로 Caption을(를) 변경합니다. IVR 선택 경로 보고서에는 작업 이름과 캡션이 포함됩니다. 설명을 포함하며 고유한 캡션을 사용하면 보고서를 읽고 이해하기가 더 쉬워집니다.Use only for BEGIN CASE IF IVRLOG MENU and REQAGENT
Expression 표현식이 TRUE 또는 FALSE인지 판별하기 위한 값의 평가입니다. 예를 들어, TOTAL=>0(총계는 0 이상)입니다.

Result Branch Conditions

결과 브랜치 조건을 사용하면 작업이 실행될 때 여러 결과를 처리하기 위해 스크립트에 브랜치를 생성할 수 있습니다.

조건

설명

True

표현식이 참인 경우 사용되는 경로입니다.

False

표현식이 거짓인 경우 사용되는 경로입니다.

Script Example

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

When this script is triggered, the number of available agents are counted. The If action uses the expression TOTAL>0 to determine which branch to take. If the total number of available agents is greater than 0, a menu will provide options to the caller. If the total number of agents is not greater than 0, then a message will play and the script will hang up the call.

Would you like to download this script?