In a ICM Callflow after quening call to skill group i want to play IVR- press 1 for voicemail , or just stay on the line to continue to wait for agent.
i am putting run external script to call a M, Promp microapp . when i am selecting 1 call is going to voicemail . i have connected X node of Run external script to queue to skiilset but the call is not queuing.attached is the screenshot for the callflow.
i made some change . now call is coming out of x of Runexternal node
You cannot simply take all error conditions and send them to the queue logic - because you will be passing errors as well as the "no entry" condition. You need to specifically test for user.microapp.error_code = 17 (Reached Max No Entry Tries) and send those ones to your queue logic. See CVP 7.x manual, page 183. If it's not 17, then send to an End node so the gateway invokes survivability.
You need to create a special "no entry error" wav file with a small amount of silence and specify that you want to override the normal system message (Timeout Message Override). See page 526.
Get rid of that wait node - not allowed in any CVP scripts, despite what you may see posted elsewhere.
Your script is very messy and hard to follow. Normally you want to go left to right and structure vertically - don't come back right to left, and try not to have any of the lines crossing. Use line connectors to keep things logically organized. Take the queue logic into another script and use a Go To Script for clarity.