Dynamic Position in Queue

In the ICM scripting, how to identify the position in Queue of a caller dynamically, if none of the agents are available in the skill group and call is waiting at the IVR.
For Example:
A Caller calls, and prompts that your Position in queue is "x" and your Estimated Wait time is "x".
Call will be on hold for certain amount of time, then again the position of queue is examined (whether it has decreased or not). How to do this ?
We have ICM 7.1.4 and IP IVR 4.5.2

I have been trying find a way to do this same thing and believe I may have figured it out now.  Here's what I am doing in the ICM script:
Just after the Queue to Skill Group node - I use a Set Variable - SkillGroup.CCM.20922.Lab_Training.RouterQueueCallsTodayand put that value into PeripheralVariable6 (you can use whichever open PV you have)
Then, I set another variable just after this one - day() and put that value into PeripheralVariable7 (this is to keep track of the day for any calls that cross over midnight)
Now, I use our regular scripting flow to set a value into PV10 and then Run Ext Script to play the all agents are currently busy message from an IVR script - this is where the loop begins for what the caller hears until they are answered
Just after the prompt is played I do an If node - Call.PeripheralVariable7!=day() (so if the day has changed, I'll bypass giving the position in queue status)
If the day is the same, I then continue to another Set Variable - SkillGroup.CCM.20922.Lab_Training.RouterCallsQNow-(SkillGroup.CCM.20922.Lab_Training.RouterQueueCallsToday-Call.PeripheralVariable6) and put that value into PeripheralVariable8
This basically calculates the difference between the total number of calls that have queued to this moment (since midnight) and the total number that had queued when the call was first queued and subtracts that difference away from the current number of call in Queue now.
PV8= Calls in Q now - (total calls queued today - total calls queued today at the beginning of this session)
Then, I take this value in PV8 and send it to a Run Ext Script.
PV8 = Get Enterprise Call Info (--Triggering Contact--, --CallPeripheralVariable8--, --All-)
Set queue = "gen\number\"+PV8+".wav"
Play Prompt (--Triggering Contact--, P[100.wav])  -  a prompt that says "your current position in queue is..."
Play Prompt (--Triggering Contact--, SP[queue])
Then after it returns to the ICM script, I have it run another Ext Script for the music on hold period.
Finally, it connects back up to the start of this loop to tell them all agents are busy again and starts the process all over.
Hopefully, you'll find this useful and easy enough to follow.  Thanks to everyone out there who shares info.  It's been extremely helpful to me.

Similar Messages

  • IPCC Script Position in Queue not incrementing

    Working on a position in queue script, I can't seem to get the position in queue variable to move beyond 1 no matter how many people are in the queue.  Has anyone got any hints / tips?  I'm using the Get Reporting Statistic, Position in Queue from CSQ IPCC Express.

    You shouldn't have to use that as a work around.  Open a TAC case, you may have a defect, and Cisco owes it to you, as a paying customer to deliver a working product.
    Here is video proof that the PIQ value dynamically updates during script execution.
    http://www.youtube.com/watch?v=6VNd5pMgygo

  • Dynamic Positioning of Objects in a Grid (rows and columns) AS3 Tutorial

    The topic of a dynamic positioning of objects in a right grid (rows and columns) comes up often so I decided to post an AS3 solution here:
    http://flashascript.wordpress.com/2010/12/25/arranging-objects-into-2d-dynamic-grid-with-a ctionscript-3/

    Hard to tell from your description but this might help:
    http://dtptools.com/product.asp?id=atid
    Bob

  • Dynamic Positioning of Objects in a Grid (rows and columns) with AS3 Tutorial

    The topic of a dynamic positioning of objects in a right grid (rows and columns) comes up often so I decided to post an AS3 solution here:
    http://flashascript.wordpress.com/2010/12/25/arranging-objects-into-2d-dynamic-grid-with-a ctionscript-3/

    Hard to tell from your description but this might help:
    http://dtptools.com/product.asp?id=atid
    Bob

  • Flex dynamic positioning of elements

    Hi,
    I'm wondering how to dynamically position something on a canvas. I couldn't seem to find any resources on this when I used Google, so I apologise in advance if this topic has been kicked into the ground. To give an example, consider the following:
    I have a canvas thats 100 in width; we'll call this canvas "myCanvas".
    I have items coming out of my database which create checkboxes. Each checkbox has a description (the label field of the checkbox), and these vary in length (e.g. the first item might have a label thats 23 characters in length, the second may have a label thats 50). I'm currently accessing the length of the label by using "myCheckbox.label.length".
    So to recap, we have "myCanvas", and many "myCheckbox" elements being added to the canvas.
    I'm trying to make it so that myCheckbox will go from one side of the canvas to the other side, and if there's not enough room, it will dynamically drop down to the next available position in the y-axis (plus a spacer of 10px or so between the rows).
    Can someone recommend a good example, blog posting, or article of this type of functionality please? I'm new to working with dynamic items in ActionScript, so I apologise again if this seems basic.
    Thanks in advance.

    Hey,
    If you're coding to Spark you can try something like this ... sorry not sure how to format nice looking code in this thing
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
          xmlns:s="library://ns.adobe.com/flex/spark"
          xmlns:mx="library://ns.adobe.com/flex/mx" creationComplete="application1_creationCompleteHandler(event)" xmlns:local="*">
    <fx:Script>
      <![CDATA[
       import mx.events.FlexEvent;
       import spark.components.CheckBox;
       protected function application1_creationCompleteHandler(event:FlexEvent):void
        for (var i:uint=0; i<50; i++)
         var newCheckBox:CheckBox = new CheckBox();
         newCheckBox.label = i%2==1? "this is some text": "this is some longer text";    
         myGroup.addElement(newCheckBox);
      ]]>
    </fx:Script>
    <s:Scroller width="100%" height="100%" >
      <s:Group id="myGroup" width="100%" height="100%">
       <s:layout>
        <s:TileLayout horizontalGap="50" verticalGap="10" clipAndEnableScrolling="true"  />
       </s:layout> 
      </s:Group>
    </s:Scroller>
    </s:Application>

  • HBox Styling - Dynamic Positioning

    Hey folks.
    Situation: I am creating a game for a fellow employer. I have HBoxes inside VBoxes, and this is all done through pure as3 code, no CData scripts in the MXML file or whatever. I'm going to be adding flash assets (of type Sprite) onto the HBoxes, I've already created a wrapper class that extends UIComponent and takes in a Sprite in the conctructor. I drew a complex rectangle shape in the HBox. I want to have dynamic positioning of the flash assets I load into the HBox, nothing like asset1.x = 50; asset2.x = 150. When its loaded, I want it to automatically float left and what not. Remember, this is all done through pure as3, everything from instantation to styling, no external stuff either.
    Goal: Children of my HBox need to have around 40 pixels of space between them organized in a horizontal manner (hence HBox).
    Attempted: I've tried myBox.setStyle("horizontalGap", 40) and although there is an increase in the horizontalGap property (I traced it out before and after, original value was 8 and is now 40), there is no visual difference, as in when I add multiple flash assets onto the HBox, they are not dispersed horizontally by 40 pixels...they're all on top of each other.

    Hey,
                hbox1.addChild(new SpriteUIComponent(a));
                hbox1.addChild(new SpriteUIComponent(b));
                hbox1.setStyle("horizontalGap", 40);
    Thats the code that I'm running, a and b are just some sprite objects I created thats created like var a:Sprite = Sprite(new randomShape()); where randomShape is a black octagon of some sort. So yeah, I am adding it to the HBox, not the canvas.

  • UCCX: Position in queue and real position in scheduler queue

    Hi
    When using UCCX stats is posible to get position in queue BUT since agents can share skill from different queues, real time scheduler queue can be much longer.
    It is posible to get the real position of that call on the scheduler queue?
    For example:
    Queue A, Skill A, 20 calls
    Queue B, Skill B, 20 Calls
    Agent 1 have Skills A and Skill B
    Next Call on Queue A:
    Position in queue acording to UCCX step is 21  but REAL position in scheduler is 41 since UCCX uses FIFO among queues.
    Thanks

    HI Jonathan
    Yes, on this example adding both queues would do it, i put it only to ilustrate the useless of the get position in queue  and the need of something more general.
    In my project, skill are not evenly distribute between agents and agents logins and logout all the time. Because of that it is not as simple as adding severals queues together. A function should be provided that gives the real time position of the call at anytime in the scheduler and not the simple position in one queue.
    Thanks

  • CCX 9 - Lost position in Queue

    Just out of curiosity, has anyone experienced a case when a user's position in queue was lost.  They were on hold 1st in the queue, then a second caller calls in, then they got bumped to 2nd?  This has been working flawlessly the last several months this has been in place, but we just got a complaint that it has occurred.  The CCX is located at a different location to the phones of where the problem was experienced.
    Attached a screen shot of the CCX script.

    Couple of possible things:
    Call RONAed and call was re-queued with higher priority
    You are prioritizing some calls over others, i.e. priority step is used somewhere in this or another script that queues the same CSQ
    Chris

  • UCC Enterprise - Position in Queue

    Anyone come up with a creative way to do this in Enterprise? (Its obviously simple in Express).
    I can tell the customer what their position in queue is when they initially get into the queue but if I need to speak it again, I can't come up with a way to do it.

    if you are queuing all callers at same priority- enter customer position in call variable and play it during queue.
    But i am sure you will have multiple priorities. this is little difficult solution , but thats what i came up with in 5 min. Make a globle variable for each queue priority. When counting the current position in queue also look for number of calls currently queued for lower priority queues add it to current position and you get your number.
    Let me know if i am making sense at all.
    thanks
    Pranav

  • Dynamic position of an image at the right bottom of the browser window

    Dear Dreamweaver-community,
    I'm trying to have an image positioned at the bottom right of a html-page. It is embedded in a table so that it doesn't interfere with the rest of the site's content (which it would if I simply used an absolute position). The height of the table is height=100% and I thought that this would make sure that if the browser window is being dragged smaller or bigger the image stays at the bottom right (just as the content stays centered if you set the width of a table to 100% and center it). But if you make the browser window higher the image won't keep sticking to the right bottom but will stay in one place while the rest of the page (bottom) is simply filled with the black background color. Do you have any ideas what I'm missing out on? Is there something like a valign-tag for a table or the page's body that dynamically keeps the image at the bottom right position no matter how you change the size of the window? I hope you can help me. Thank you!
    Missy
    Here's the code:
    <body bgcolor="#000000">
    <center>
    <!-- Start Content-Tabelle -->
    <TABLE BGCOLOR="#000000" BORDER=0 CELLPADDING=0 CELLSPACING=0 width=100% height=100%>
         <TR>
              <TD width=100% align=center valign=top>
                   <p> </p>
                <IMG SRC="images/kopf.jpg" width=300>
              </TD>
         </TR>
         <TR>
              <TD width=100% align=center valign=top>
                   <IMG SRC="images/text.jpg" width=394>
              </TD>
         </TR>
         <TR>
              <TD width=100% align=center valign=top>
                   <a href="mailto:[email protected]"><IMG SRC="images/post.jpg" border=0 width=269></a>
              </TD>
         </TR>
    </TABLE>
    <!-- End Content-Tabelle -->
    <!-- Start Wuerfel-Tabelle -->
    <TABLE BGCOLOR="#000000" BORDER=0 CELLPADDING=0 CELLSPACING=0 width=100% height=100>
         <TR>
              <TD width=100% align=right valign=bottom>
                   <IMG SRC="images/wuerfel.jpg" width=200>
              </TD>
         </TR>
    </TABLE>
    <!-- End Wuerfel-Tabelle -->
    </body>

    Below is your complete page. Copy all, paste into a Dreamweaver document, save and view in browser.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta name="keywords" content="Mario, Klingeberg, Mario, Klingeberg, Grafik, Illustration, Design, Grafikdesign, Grafik-Design, Illustrator, Bachelor, Medienmanagement, Mediendesign, Medien, IJK, Hannover, Bauch Beine Po, bauchbeinepo, Adobe, Photoshop" />
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Mario Klingeberg</title>
    <style type="text/css">
    html, body, #container {
    height:100%;
    margin: 0;
    padding: 0;
    border: none;
    text-align: center;
    background-color: #000;
    table td {
    vertical-align: top;
    text-align: center;
    </style>
    <script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    </script>
    <script type="text/javascript">
    try {
    var pageTracker = _gat._getTracker("UA-15622817-1");
    pageTracker._trackPageview();
    } catch(err) {}</script>
    </head>
    <body>
    <table id="container" width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td><img src="images/kopf.jpg" width="300">
    </td>
    </tr>
    <tr>
    <td><img src="images/text.jpg" width="394">
    </td>
    </tr>
    <tr>
    <td><a href="mailto:[email protected]"><img src="images/post.jpg" border=0 width=269></a></td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td style="vertical-align: bottom; text-align: right;"><img src="images/wuerfel.jpg" width="200" height="90"></td>
    </tr>
    </table>
    </body>
    </html>

  • UCCX Position in Queue issues after RNA

    Hello, we have a script using postion in queue logic. I tested the script and everything looked well however, this past month we have had complaints that callers were moving positions. They would go from 5 to 15 to 6. This is random and does not always happen. We get a couple of complaints a day. I noticed this first hand when my co-worker called in. Call came into the trigger happend to go RNA on an agent phone...went back to the queue then was stuck in the queue for over an hour and half. I never saw the call in the supervisors software.
    Contacted TAC and they say that its an issue with the logic in the script.
    I've attached two images of the queue section of the script. We have it play a begining queue prompt (you are) then the position prompt (first) end queue promt (in line for your call to be answered.
    Any suggestions we would be grateful...
    UCCX
    System version: 8.5.1.11003-32
    Thanks....          

    For starters, if the transfer into VM fails, the user will have been dequeued, you wouldn't see them in Supervisor Desktop, and they would continue to loop around and receive queue treatment.
    I would always recommend scripting for these types of contingencies.  I.e., If VM is down or all ports are busy, don't dequeue the caller and keep them queued.
    This is also achievable without losing the caller's PIQ because you do not need to dequeue manually, a sucessful Redirect will dequeue automatically.
    Anthony Holloway
    Please use the star ratings to help drive great content to the top of searches.

  • Can dynamic in-memory queues be created programmatically in OC4J?

    Is it possible for an EJB to dynamically create an in-memory queue in OC4J?
    I'm using message-driven bean for concurrency. That is, each client posts messages to a queue so that message-driven beans can process each message concurrently. Each client will receive responses from the MDB's via a response queue. I want each client to dynamically create its own in-memory response-queue. Thus, is it possible to dynamically create an in-memory queue in OC4J? Or is the only option to have a single queue, or pool of queues, and use a message selector system for each client to identify its response messages?
    Thanks,
    Travis

    We're using in-memory queues provided with
    The following FAQ, written in 2004m, indicates that in-memory queues cannot be created dynamically. However, the FAQ is old. I'm wondering OC4J 10.1.3.1 or higher (i.e. 11g) now allows dynamic creation of in-memory queues.
    http://www.oracle.com/technology/tech/java/oc4j/1012/collateral/oc4j-faq-jms-1012.html
    I haven't found a newer FAQ that indicates whether in-memory queues can now be created dynamically using OC4J 10.1.3.1.

  • Dynamic topics and queues

    I'd like to know if a JMS client can create a topic or queue dynamically to be used by others JMS clients, or this is a operation which only can be performed by JMS server.
    Thanks in advance.

    I should add that the JMS spec does define an API for creating 'temporary destinations', e.g., using the QueueSession.createTemporaryQueue() method. However these have a few limitations over standard destinations: firstly, they only survive for the lifetime of the connection from which they were created, when the connection is closed the destination is destroyed and the contents is lost; secondly, although producers from any connection can produce messages to a temporary destination, only consumers that belong to the same connection within which the temporary destination was created are able to consume from a given temporary destination. All that said, temporary destinations can often be useful, particularly for handling request/response type interactions - see QueueRequestors too for more info.
    Best regards,
    David Ingham
    Arjuna Technologies - http://www.arjuna.com

  • Announcing position in queue

    If I want to announce a caller's position in the queue, what is the best way to accomplish that?  A subflow or right within the main script?  What would the steps look like?
    Thanks!

    Within the existing script would be fine. Subflows are more useful when you have large chunks of code (e.g. account entry and validation against a database) that you wish to reuse across multiple scripts.
    Get Reporting Statistics
    Create Generated Prompt - The value from the statistics step, ordinal type.
    Play Prompt - P[prefix.wav] + P[generated.wav] + P[suffix.wav]
    Please remember to rate helpful responses and identify helpful or correct answers.

  • Dynamic positioning (moving) picture container

    Hallo all,
    i have to set the position of a picture container dynamic durin my program runtime.
    i tried to set the position with method
    CONTAINER->SET_LEFT
      EXPORTING
        LEFT       = l_pos
    but the positions doesn't change.
    what's wrong?
    Thanks a lot!
    Stefan

    Hello there,
    This is an "ol skool" method and was one of the first scripts
    I learnt back when I had Flash MX 2004. It is really basic but
    still one of my favorites.
    Anyways, I'll assume that you have a movieclip on stage that
    will load in your images. Make sure it has a top left registration
    point. If it doesn't then go into the movieclip and set it's X and
    Y to 0 in the Properties panel. We'll call this movieclip "holder".
    Also you should have a dynamic textbox and some buttons. The script
    has instance names "caption" for the textbox and "pic1" and "pic2"
    for the buttons.
    Open a text editor (Notepad, Textmate) and paste this into it
    caption1=This is the caption for Picture
    1&pic1=pic1.jpg&caption2=This is the caption for picture
    2&pic2=pic2.jpg
    Save it as info.txt in the same folder as the swf file.
    Back in Flash create a new layer called "actions" and copy
    and paste the script at the bottom. Make sure have a folder called
    "images" with your pictures in it. Test your movie.
    If all went well you should see your first image and caption
    and the button should load their captions/pictures.
    Basically all we've done is put variables in an external text
    file and loaded them into Flash. You could have done the same
    within Flash but this way is more flexible as you only need to edit
    the text file if you want to change the caption and picture. Flash
    reads the variables in as a URL encoded string. To add more
    variables to the text you must use the ampersand(&) character
    to seperate variables and their values. e.g
    varA=valueA&varB=valueB
    There is still work to be done on this script like checking
    if the file has loaded and checking for errors but thats pretty
    much the gist of it.
    Hope it helps!

Maybe you are looking for

  • Everytime I try to open safari on MacBook Pro it crashes

    Since yesterday, every time I have tried to open safari on my macbook, it crashes and comes up with an error report. The only way I can access safari is when I start up my mac using the safe boot. Please help I have an assignment to finish as I am in

  • Web Service client deployment in JBoss 4.0.4 GA

    I need to write a web service client which would be deployed in a WAR file JBoss 4.0.4 GA container. The web service is written using JSR 181 and deployed in jbossws-1.0.2.GA . I would like to know which would be the best web service stack to use to

  • InDesign SharePoint Integration

    Hy, In our company we are focused on using SharePoint 2010. Some user have Adobe InDesign CS5 installed. At the moment the user can not open an InDesign File from SharePoint and can not save from InDesign directly into SharePoint. Does InDesign CS5 o

  • E6 and email behaviour

    Hi! I'm wondering that is anyone else experiencing the same. I have 2 mail accounts, another is IMAP and another is POP3. For the both I've set that they are retrieved once in an hour and between 8.45am to 10pm. During daytime, it works well. But the

  • No error occurs during Flash installation, but it still doesn't work

    I have installed the latest version of Flash using the installer on the Adobe website and no errors occur during installation.  However, when installation is complete, I still can't use websites that require Flash (I am prompted to go install Flash).