Loop

지정된 횟수만큼 브랜치 조건을 반복 실행합니다.

Repeat 브랜치는 Repeat 속성에 표시된 횟수만큼 실행됩니다. 예를 들어 Repeat이(가) 5인 경우 Repeat 브랜치 조건 다음의 작업이 정확히 5회 반복됩니다. Repeat 브랜치에 설정된 반복이 완료되면 다음으로 Loop이(가) 실행될 때 Finish 브랜치가 트리거됩니다.

예를 들어 IVR닫힘 발신자가 음성 명령, 키 입력 또는 둘 다를 통해 상호작용하여 정보를 얻거나 인바운드 음성 통화를 라우팅 또는 둘 다를 할 수 있는 자동화된 전화 메뉴입니다. 메뉴에서는 컨택이 유효하지 않은 번호를 누를 경우 컨택에게 다시 시도하게 안내하도록 Loop을(를) 추가할 수 있습니다. 오퍼레이터에게 전송하기 전에 컨택에게 3회 시도하도록 루프를 설정할 수 있습니다.

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

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

속성

설명

Repeat OnFinished 분기가 수행되기 전에 루프가 반복되는 횟수입니다.
CounterName FromValueStep의 현재 값을 받을 변수의 이름입니다.

Result Branch Conditions

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

조건

설명

OnFinished

반복 횟수가 지정된 숫자를 초과할 때 사용되는 경로입니다.

OnRepeat

현재 반복 횟수가 지정된 횟수보다 작거나 같을 동안 사용된 경로입니다.

Script Example

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

fter the script is triggered, Voiceparams sets the text-to-speech voice and Hours sets the hours of operation (using the Hours of Operation profile). When the script reaches the Menu action, a message is played, asking the caller to press 1 to request an agent. If 1 is not pressed in 5 seconds (set in the Menu Timeout property), then the Loop will be triggered, at which time a message will play, telling the contact to try again. The loop will occur three times, and on the fourth time, the loop will follow the Finished branch instead of the Repeat branch. On the Finished branch, a different message will play, telling the contact to call back later and then hangs up the call.

Would you like to download this script?

In a simple event, when a call is placed on hold a loop will occur in which music plays, followed by a message, followed by music and another message and so on until the call is taken off hold.

Would you like to download this script?