Queue Messages initiated by Wait Time?

Hi, within ICM Script Editor, Release, 8.5.4.0. Via script, Is there any way to automatically play/initiate a message based on the longest wait time or a time value?  For example, if a customer called us and entered our queue, if there was a current queue wait time (or longest call waiting value) of over 5 minutes, could we initiate a message to say "There is currently a wiat time of over 5 minutes, if you would like to call us back please call.....etc"
Thanks!

Hi, within ICM Script Editor, Release, 8.5.4.0. Via script, Is there any way to automatically play/initiate a message based on the longest wait time or a time value?  For example, if a customer called us and entered our queue, if there was a current queue wait time (or longest call waiting value) of over 5 minutes, could we initiate a message to say "There is currently a wiat time of over 5 minutes, if you would like to call us back please call.....etc"
Thanks!

Similar Messages

  • DEQUEUE with FOREVER wait time hangs Oracle when there is no entry to be dequeued

    I am using a multiconsumer queue and whenever I try to get the next message from the queue with the FOREVER wait time or a wait time greater than 0 and there is not entry in the queue to be dequeued, Oracle seems to hang for a couple of seconds. This time can go from 2 seconds and more than 30 seconds.
    During that hang time, I cannot even create a new connection to Oracle, run a query in another session. Everything seems to be hanging. At the same time the machine is mostly idle during that time.
    This hang time comes and goes until a message is available to be dequeued or the dequeue call returns when its wait time has elapsed.
    Here is the code I use to dequeue the next message with wait time FOREVER from the default.
    =============================================
    DECLARE
    msg_queue_msgid msg_queue_tab.msgid%TYPE;
    q_opts DBMS_AQ.dequeue_options_t;
    msg_opts DBMS_AQ.message_properties_t;
    data msg_queue_t;
    BEGIN
    q_opts.consumer_name := 'ROUTER';
    DBMS_AQ.DEQUEUE (queue_name => 'msg_queue',
    dequeue_options => q_opts, message_properties => msg_opts,
    payload => data,
    msgid => msg_queue_msgid);
    END;
    =============================================
    Is this related to Oracle configuration or anything special has to be done to use AQ?
    null

    In which mode your database server is running? Probably if its in dedicated mode it will hang u can check it by changing the database mode.
    null

  • The Average Wait Time of SQL instance "CONFIGMGRSEC" on computer " SEC_SITE_SERVER " is too high

    I have a SCCM 2012 SP1 CU4 environment with SCOM monitoring installed.
    I also do have 4 secondary sites installed below my primary. The secondaries are using SQL 2012 Express version default deployed using the secondary site installation.
    My SCOM monitoring is generating tickets with the following message:
    The Average Wait Time of SQL instance "CONFIGMGRSEC" on computer "<SEC_SITE_SERVER>" is too high
    How can i solve this ? Or do I need to ignore this ?

    Never ignore messages, but tune them.
    In this specific case you might want to take a look at this:
    http://social.technet.microsoft.com/Forums/en-US/ffeefe0d-0ef7-49a3-862e-9be27989dc5d/scom2012-alert-sql-2008-db-average-wait-time-recompilationis-too-high?forum=operationsmanagergeneral
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • How to keep waiting time between processed messages !!

    Hi Folks,
    I have got one scenario required waiting time between processed messages. The problem as follows !!
    File --> Proxy scenario. I receive 15 messages from sender side (same messages structure) so working with one interfaces. File picking and transforming this message and split into 2 messages. messages are receiving to receiver. I am using BPM with 7,8 steps like receiving step, block , message transformation step , internal block 1 for sender 1, internal block 2 for sender 2.
    All things are working fine, messages are going to receiver properly. But customer requirement is , wait step required between processed messages before sender1. I have put wait step still, PI picks all messages in one shot processing and waiting for 2 minutes, after 2 minutes sending all messages at the same time, this process is not working.
    I have tried with wait step in mapping (Sarvesh) given excellent idea, still PI works the same way.
    Can someone please explain a bit why the messages or not waiting message by message. I am using EOIO with Queue name and file process mode "BY NAME" and I have tried "BY TIME" as well. I have given priority to this Queue. On BPM Queue assignment : One Queue.
    Please I am expecting positive answer !!
    Many Thanks in Advance
    San

    Hi Rudolf Yaskorski ,
    Not sure about your PI release and BPM model, do you create separate process instance for each file, or do you process files collecting them in one single instance? Are you using parallelization within your ccBPM ?
    I am using serialization, I don't think bpm can do Parallization until PI 7.0, but PI 7.11 has got has queue assignment. But I am using one queue. This must be serialization.
    To me it looks like your issue is not in ccBPM but rather more in polling files (as per your post file CC polls all 15 files in one shot). So if you wish to poll the files not at the same time some workaround is required. Possible options you could check out:
    A. Either implement "wait" in your mapping based on file name or other criteria (e.g. directory name). Check out if respective BPM instances are really created at different times.
    I have used wait step in mapping. These 15 messages has to go through one interface. So I am using one interface. But I have checked mapping process time in all messages on receiver system. Shows same timing, even though I put 40000 ms waiting time in mapping.
    B. Try polling different files (or use different directories) with different channels and coordinate starting / stopping of your channels by scheduling availability for each CC in RWB. E.g. you poll file 1 with CC 1. You start 2 minutes later CC 2 and poll file 2. And so on.
    I am not clear about this . On BPM waiting step is working and it keeps wait all messages, which are coming through one interface. Then it releases all messages at the same time.
    I don't know how to resolve this. I have tried with Transport acknowledgment, but all messages are going to reciver system waiting at receiver system in priority queue and processing in EOIO, but taking so long. Rather all messages go and sits in queue, I want to stop messages by message with 2 minutes time gap. How please?
    Kind Regards
    San

  • Wait Time Bug in Advanced Queuing ?

    Hello.
    I'm working with oracle 8.1 db and i have oracle odp.net driver 9.2.
    I have the following problem in AQ, I hope someone can help me.
    I made this stored procedure for enqueuing:
    pMessageID OUT RAW,
         pMessage     IN     varchar2,
         pTicket IN varchar2
    IS
    l_enqueue_options DBMS_AQ.enqueue_options_t;
    l_message_properties DBMS_AQ.message_properties_t;
    l_message_handle RAW(16);
    l_msg TESTES.WORK_MESSAGE;
    BEGIN
    l_msg := TESTES.WORK_MESSAGE(pMessage, pTicket);
    DBMS_AQ.enqueue(queue_name => 'TESTES.WORK',
    enqueue_options => l_enqueue_options,
    message_properties => l_message_properties,
    payload => l_msg,
    msgid => l_message_handle);
    COMMIT;
    END;
    and i have made this procedured for dequeuing:
    pInformation OUT varchar2,
    pTicket OUT varchar2
    IS
    l_dequeue_options DBMS_AQ.dequeue_options_t;
    l_message_properties DBMS_AQ.message_properties_t;
    l_message_handle RAW(16);
    l_message0 WORK_MESSAGE;
    BEGIN
    l_dequeue_options.wait := 1;
    DBMS_AQ.dequeue(queue_name => 'TESTES.WORK',
    dequeue_options => l_dequeue_options,
    message_properties => l_message_properties,
    payload => l_message0,
    msgid => l_message_handle);
    COMMIT;
    pInformation := l_message0.information;
    pTicket := l_message0.ticket;
    END;
    I have one thread that continuously checks the queue for new messages, with 5 seconds interval. this thread can see and process all messages that are in the queue previously... when it connects it processes all the messages. After that it will begin checking the queue in every 5 seconds. Then I put some new messages in the queue and it SHOULD see them and process them. The problem is that if the wait time in dequeue options is 0 (like I would wanted to) the thread doesn't see any message, although there are the ones I put there. If the wait time is > 0 then...it goes ok, it sees the messages and process them.
    Anyone can help me understanding the why of this strange behaviour ?
    I would realy like to use 0 seconds wait time.
    Thanks

    I do not have an answer at the moment but I have unsuffited the file so that others can look at the program.
    Jeremy Braden
    Attachments:
    Queue.vi ‏77 KB

  • Estimated Wait Time Message -IPCC Enterprise

    Hello all. Our senior management would like to implement a queue message of 'your call will be answered in approx. x mins.'
    Using ICM 6.0sr2 and IPIVR, is this possible out of the box, or do we need some sort of plug-in? If it is possible, could someone point me to some IVR/ICM ideas of how to pull the estimated wait time? Thanks!

    Here is the calculation described in Cisco documentation:
    (# calls queued including current call  *  average handle time) / (# agents ready)
    It is described in the media scripting guide page 228: http://www.cisco.com/en/US/docs/voice_ip_comm/cust_contact/contact_center/icm_enterprise/icm_enterprise_7_5/user/guide/ipce75sg.pdf
    Keep in mind this calculation works best with high and steady call volumes, otherwise it may not be very accurate.

  • Good day. as I can do to update my iphone 4 to the latest version of ios 5. whenever you connect to the pc and try to update the waiting time is very long, sometimes up to 12 hours and despite the wait always produce an error message for a long time waiti

    good day. as I can do to update my iphone 4 to the latest version of ios 5. whenever you connect to the pc and try to update the waiting time is very long, sometimes up to 12 hours and despite the wait always produce an error message for a long time waiting

    Disable ALL security software (firewall, antivirus/spyware, etc.) running on your PC while updating.

  • After updating iOS, I only see a black screen on my iPad asking for a 4 digits passcode, I've tried severeal times and now every time I try I get this message "Ipad dissable wait 60 min... I do not know what to do???

    After updating iOS 8.0, I only see a black screen on my iPad 4 asking for a 4 digits passcode, I've tried severeal times and now every time I try I get this message "Ipad dissable wait 60 min... I do not know what to do???

    Howdy mendjes25,
    It sounds like you’ve recently updated your iPad and now it’s disabled because the passcode you’re entering isn’t being accepted. I can imagine that would be frustrating. Take a look at the article linked below, it describes the alert you’re seeing and provides the possible resolutions for that issue.
    iOS: Forgot passcode or device disabled
    I hope this helps,
    -Jason

  • I cannot run itunes, I keep getting this error message" Quick Time failed to initialized (error02096) Quick time is required to run please unistall itunes then install itunes again, I have done this three time and I keep getting the same error message.

    On my PC, I cannot run itunes, I keep getting this error message" Quick Time failed to initialized (error02096) Quick time is required to run please unistall itunes then install itunes again, I have done this three times and I keep getting the same error message. I have had itunes for years, but up until 2 months ago the quick time will not initialize to run it.

    Try using the Windows Installer Cleanup Utility and delete the iTunes installer. Then try installing iTunes again
    http://majorgeeks.com/Windows_Installer_CleanUp_Utility_d4459.html

  • Answer wait time SG vs Call type

    IPCCE 7.1 CVP 3.1 .We had a big issue regarding call type reports and skill group reports, exactly regarding the ASA. why the answer wait time is huge in skill group comparing to call type, our scenario is little bit different as we have five call types feeding the same skill group based on the customers category, and every queue to skill group node has different priority, so we need to know why answer wait time is hugely different in skill group compared to the call type.
    attached is one of the five scripts, all the rest of them are the same and. each one is maped to one call toype.

    attached are clear scripts
    You have your Send to VRU in the wrong place, in my opinion.
    With CVP, the first thing to have is an explicit "Send To VRU". For calls from the PSTN, failure in this should go to an End node, which forces survivability on the gateway to play the error message. For warm transfer calls, the best is probably Release.
    No point in going further if Send to VRU fails.
    Then I would set the ECC variables required for your microapps.
    Once you have this, then go to your Call Type node - to set the "queuing" call type. I don't like to rely on the call type that the script is scheduled against, because you normally have to peel off calls for holidays, out of hours and so on. I like to make it obvious what's being counted by the queuing call type.
    Finally, go into your Queue To Skill Group.
    Be aware that RONA will mess up the call type stats a little - they will be counted as Other (which includes short calls, but they are counted separately so it's possible to see the RONAs). I would rather not set a call type on the RONAs as some do, as this will mean that they are in "Flow Out" and the stats are messed up even further.
    For failures out of Q2SG, I like to send them to a script where I set an "error" call type to count and return the error label on the CVP RC.
    Everyone has different ideas ...
    Regards,
    Geoff

  • Is a Wait timer needed in a consumer loop?

    I have a leak test engine and servo engine that is a consumer loop being called via "Start Asynchronous Call" multiple times for each device.  A contractor that I am working with said I need to add a wait timer since the dequeue will tie up the processor.  Is this true?
    I kind of makes sense that the dequeue is waiting to process anything immediately, but I thought the timeout would release the loop just like a wait timer set to zero.  He says it does not since it is still waiting to dequeue something.  What does the experts think about this?
    Solved!
    Go to Solution.

    nonecure wrote:
    So the dequeue will normally hold on to the CPU?  Is this similar to a empty loop without a wait timer?  Not much processing, but taking cpu resources?
    No.  If there is nothing in the queue, the Dequeue Element causes a "sleep".  This is similar to your Event Structure while waiting for events.  They use no CPU while waiting for a message.
    Now if you have a lot of things in your queue, then your loop could be running as fast as possible to play catch up.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • UCCX Estimated Waiting Time

    Hello, I'm trying to add EWT to a script, once the call reaches the queue they hear:" your estimated waiting time is 1 minute" and then:"we are experiencing some system problem" error message. What I did in the "Select Resource “under the Queue I add "Get Reporting Statistic" with the setting Expected waiting time and CSQ IPCC Express. Also I placed a "Switch “tag for the AVG waiting time in minute  and I configure 1 to 10 with .wav file for each minute. Any suggestion? the software is UCCX 5 enhanced.I'm attaching the file. can somebody direct on me what i'm missing or send me a file to use as a tamplate?
    Thanks.

    The message "we are experiencing network problems" usually means 2 possible things:
    1. some java exception occured while your script was running
    2. your script has ended without hanging up
    Run script in interactive debug and you will see what exactly is going on.
    ervins

  • How do you build a web page to display queued messages ?

    How do you build a web page to display queued messages in all states?
    Thanks,
    Reeta
    Reeta Joseph Benoy
    EDS@XEROX
    Database Administration
    1350 Jefferson Rd
    Rochester, NY 14623

    You can build a form to a procedure in oracle portal that explores the queue with the option browse and prints de type message with htp package. I made it in this way and my applicattion works right. The procedure must loop the select count(msgid) from aq$[queuetable_name] times.

  • Dequeue messages one at a time

    We have a scenario where we have to send messages to a server(on a TCP/IP port).
    However since we are expecting huge volumes and the server cannot handle such huge volumes, we are dumping all the messages into an AQ.
    We want to dequeue these messages one at a time and send them to this server.
    The AQ Adapter however seems to dequeue all the messages in the queue in one shot. It then creates separate instances for each message and bombards the server with these messages.
    The whole purpose of using the queue is not served.
    Is there anyway we can throttle this dequeuing?
    The AQ Adapter gives 2 options:
    1) Polling : In this case however each time it polls it picks up all the messages in the queue that are ready to be dequeued.
    2) Notification : Havent seen much documentation around this? Am not sure if this will solve our problem.
    Any possible alternatives/solutions are welcome.
    Thanks,
    Vinod.

    Hi Vinod,
    To follow up on Lili's reply, you can refer to the solution I posted in the following thread:
    Re: About AQ ADT example functionality
    Scroll down to the section "How to make AQ process synchronous" and follow the outlines steps.
    Thanks.

  • Is it possible to change the Global Lockout Message to include the time duration?

    Hi Everyone,
    Is it possible to edit the error messages that portal returns?
    Are they stored in a table we can just modify? Or are they
    secured?
    The one specifically that a client would like to change is:
    the error message related to the global lockout message to
    include the time that people would have to wait.
    Any ideas?
    Thanks
    tim

    Tim,
    You can change the message via an API. The code that we used is
    below:
    DECLARE
    CURSOR c_id IS
    SELECT id
    FROM wwnls_strings$
    WHERE name = 'edit_password_txt';
    v_msg LONG := 'Enter your old password and a new password.
    Confirm your new password to make sure you entered it correctly.
    Passwords are %1.'||chr(10)
    ||'Passwords must : <br>' ||chr(10)
    ||'<UL><LI> be at least 7 characters long
    </LI>' || chr(10)
    ||'<LI> not be the same as your username </LI>'
    || chr(10)
    ||'<LI> contain at least one alpha character
    </LI>' || chr(10)
    ||'<LI> contain at least one numeric character
    </LI>' || chr(10)
    ||'<LI> not be the same as your previous
    password </LI></UL>' ;
    v_id wwnls_strings$.id%TYPE;
    BEGIN
    OPEN c_id;
    FETCH c_id INTO v_id;
    CLOSE c_id;
    portal30_sso.wwnls_api.set_string      (p_id => v_id
                             ,p_text => v_msg
                             ,p_language => 'us');
    END;
    /

Maybe you are looking for