Question 2
A customer with Avaya Aura Contact Center has created a loop in a script application with the following parameters:
1. While the caller is in the loop, the customer wants an announcement to play every thirty seconds, and the queued status of the call and the In-service status of the skillset must be evaluated
2. If the call is not queued, and if the skillset is out of service, the call will be sent to an out of service announcement
3. If the call is not queued and the skillset is in service. It must be re-queued.
What is the proper script syntax to accomplish this requirement?
Section wait_loop
IF NOT QUEUED THEN
IF OUT OF SERVICE SKILLSET automotive THEN
GIVE RAN out_of_service_ran_gv
DISCONNECT
END IF
END IF
GIVE RAN agts_stlll_busy_ran_gv
WAIT 30
EXECTUTE wait_loop
Section wait_loop
IF NOT QUEUED THEN
IF NOT OUT OF SERVICE automotive THEN
QUEUE TO SKILLSET automotive
WAIT 2
ELSE
GIVE RAN out_of_service_ran_gv
DISCONNECT
END IF
END IF
GIVE RAN agts_still_busy_ran_gv
WAIT 30
EXECTUTE wait_loop
Section wait_loop
IF QUEUED AND IF OUT OF SERVICE automotive THEN
GIVE RAN out_of_service_ran_gv
DISCONNECT
END IF
END IF
GIVE RAN agts_still_busy_ran_gv
WAIT 30
EXECTUTE wait_loop
Section wait_loop
IF NOT QUEUED AND IF NOT OUT OF SERVICE SKILLSET automotive THEN
GIVE RAN out_of_service_ran_gv
DISCONNECT
END IF
END IF
GIVE RAN agts_still_ran_gv
WAIT 30
EXECUE wait_loop
Correct answer: D