cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
574
Views
0
Helpful
1
Replies

Exit from "Select Resource"

i.chichikov
Level 1
Level 1

Hi!

I have a "CSQ#1" where is 10 agent in Ready state and try to connect to agent. If 2 attempts is failed - script should search ready agents in other CSQ#2 even there is a ready agents in CSQ#1.

But operator IF do not work. Script try connect until all agents will be in "Not Ready" state.

How I can exit from step "Select Resourse" even if there are agents in Ready? state. selectRes.png

1 Reply 1

Hello,

Why don't you change the place of the IF staement and instaed use the increament .

Check for the counter >= 2 before entering the connect and increament the counter inside the failed.

If the counter >= 2 go to the admin select otherwise continue with the CSQ1

Amer