UCCX 7.0 Trying to Get Called Number step

I'm trying to have my script recognize a specific called number and then based off that call number queue call at higher priority and send to agent.  I am in the debug state right now and it's blowing by IF statement for the called number.    What am I missing here?
thanks
Called Number = Get Call Contact Info
IF (called_number==1234567) then
True> Set Pri 7
False>continue to queue call lower Pri

are you in active or reactive debug mode?  if active, you cannot pull the get call contact info step, but I suspect you would have seen that.  so, I will assume you are in reactive.  but I want to make sure.
I see you wrote out the script steps by hand, instead of a screenshot, or file upload, so this could easily be a typo, but your variable in the get call contact info step is:
Called Number
And your variable in the if step is:
called_number
They should be the same.
Also, your if step should have the phone number literal in double quotes:
"1234567"
And not typed out like an integer:
1234567
But again, that could be a typo, and not really how your script is built.
The logic looks good:
Get Called NumberIf Called Number == Priority Number Then     Set PriorityElse     Do Nothing
So I am only left to guess at the problem....do you use wild card triggers?  I.e., not 1234567, but 123XXXX?
If you are using wild card triggers, then the Called Number would be the trigger:
123XXXX
And not the actual number dialed (you need to get the Dialed Number, which is at the bottom of the list):
1234567
If that is the case, then certainly:
"123XXXX" != "1234567"
And that would route your calls to the False branch of the If step.

Similar Messages

  • Trying to get serial number to install elements 12.

    I am trying to get the serial number to install elements 12.  Have entered the redemption code but the redeem button does not activate.

    You should try using a different browser if the one you are using is not working with the interface properly.  Below is a link to a help document that might provide some helpful tips if you continue to have a problem.
    Redemption Code Help
    http://helpx.adobe.com/x-productkb/global/redemption-code-help.html

  • Trying to get serial number for PSE12. Got redemption code. What's the next step?

    I am trying to get serial # for adobe Photoshop elements 12 I got the redemption code how do I get my serial # please help

    Redemption Code Help
    http://helpx.adobe.com/x-productkb/global/redemption-code-help.html

  • Re: Trying to get my number back since moving hous...

    have had a similar issue. I am waiting to be contacted about a renumber today since moving in December.
    I just got a repeat email to say to welcome on BT and about my move order from the 29th but no phone call to my mobile. I hoped the email meant something has been done but if I ring home it is still the old number. I had two order numbers & dates as the engineeer did not turn up the first time. The line was only installed on the 12th.
    This is what I was told on the chat last week.
    Ok all sorted out, they have had to put in what they called an injection order which will send a notice to the suppliers to close the order their end. We have been advised that this will happen on the 26th and you will then get a call anytime from 8-8 that day to get the renumber order done.
    I have a horrible feeling it is not getting done again. This is the 5th time and I am having to get the call via an app due to a signal deadzone in work.

    Hi mrsduff and welcome.
    I'm really sorry you're having problems with the renumber order. I'll be happy to help with this. Just drop me an email with your details. You'll get the 'contact us' link in my profile.
    Cheers
    David
    BTCare Community Mod
    If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
    We are sorry but we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)

  • Trying to get Row numbes to display in a DefaultTableCellRenderer

    Hello all.
    I have extended the defaultablecellrenderer and have got my JTanle to use it. Howeve, i want to represent the rows of the tables as well as the colums...so far i have managed to colour each row (by colour the first colum of the JTable) is there a wat to number these values, give the number of rows as an arguement? Many thanks, Rupesh.
    I call the renderer by
    _renderer = new MyTableCellRenderer();
    myTable.setDefaultRenderer(Object.class, _renderer );
    Btw - when i enter data into my table, it just disappears as soon as i click on another cell..is this because i havent implemented a setValue method in the renderer yet?
    import javax.swing.*;
    import javax.swing.table.DefaultTableCellRenderer;
    import javax.swing.border.*;
    import java.awt.Component;
    import java.awt.Color;
    import java.awt.Rectangle;
    import java.util.*;
    import java.awt.*;
    public class MyTableCellRenderer extends DefaultTableCellRenderer{
         private Font cellFont;
         public MyTableCellRenderer() {
              super();
         private boolean isHeaderCell(int row, int column){return column == 0;}
         public Component getTableCellRendererComponent (JTable myTable, Object value, boolean isSelected, boolean hasFocus, int row, int column){
              if (isSelected && !(isHeaderCell(row,column))){
                   super.setForeground(myTable.getSelectionForeground());
                   super.setBackground(myTable.getSelectionBackground());
              else{
                   if (isHeaderCell (row, column)){
                        super.setBackground(Color.lightGray);
                        super.setForeground(myTable.getForeground());
                   else {
                   super.setForeground(myTable.getForeground());
                   super.setBackground(myTable.getBackground());
         cellFont = new Font("Times", Font.PLAIN, 20);
         setFont(cellFont);
         if (hasFocus) {
              setBorder(UIManager.getBorder("Table.focusCellHighlightBorder"));
              if (myTable.isCellEditable(row,column)) {
                   super.setForeground(UIManager.getColor("Table.focusCellForeground"));
                   super.setBackground(UIManager.getColor("Tale.focusCellBackground"));
         else {setBorder(noFocusBorder);}
         Color bDis = getBackground();
         boolean colourEquals = (bDis != null) && (bDis.equals(myTable.getBackground()) ) & myTable.isOpaque();
         setOpaque (!colourEquals);
         return this;
    }

    Maybe this is what you are looking for. This code adds a line number for each row in the table:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.table.*;
    public class LineNumberTable extends JTable
        protected JTable mainTable;
        public LineNumberTable(JTable table)
            super();
            mainTable = table;
            setModel(new RowNumberTableModel());
            setPreferredScrollableViewportSize(getPreferredSize());
            getColumnModel().getColumn(0).setPreferredWidth(50);
            getColumnModel().getColumn(0).setCellRenderer( mainTable.getTableHeader().getDefaultRenderer() );
        public int getRowHeight(int row)
            return mainTable.getRowHeight();
        class RowNumberTableModel extends AbstractTableModel
            public int getRowCount()
                 return mainTable.getModel().getRowCount();
            public int getColumnCount()
                return 1;
            public Object getValueAt(int row, int column)
                return new Integer(row + 1);
        public static void main(String[] args)
            Object[][] data = { {"1", "A"}, {"2", "B"}, {"3", "C"} };
            String[] columnNames = {"Number","Letter"};
            DefaultTableModel model = new DefaultTableModel(data, columnNames);
            JTable table = new JTable(model);
            JScrollPane scrollPane = new JScrollPane( table );
            JTable lineTable = new LineNumberTable( table );
            scrollPane.setRowHeaderView( lineTable );
            JFrame frame = new JFrame( "Line Number Table" );
            frame.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
            frame.getContentPane().add(scrollPane, BorderLayout.CENTER);
            frame.setSize(400, 300);
            frame.setVisible(true);
    }

  • Trying to get number of rows in recordset but getRow( returning -3)

    Hi all,
    I really hope someone here will be able to help me with this, it is driving me mad.
    I have a query that is returning records within SQL Server, and i am trying to get the number of records returned for checks within my code. this is what i have at the moment:
    Class.forName("net.sourceforge.jtds.jdbc.Driver");
    Connection con = DriverManager.getConnection(url, username, password);
    Statement stmt = con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_READ_ONLY);
    ResultSet rs_item;
    rs_item = stmt.executeQuery("select TOP 1 ColA, ColB from DATA_TBL_9");
    rs_item.last();
    int num_recs = rs_item.getRow();
    out.println(num_recs); <-- this returns -3 everytime!!!!
    I've tried doing:
    while (rs_item.next()) {
    out.println(rs_item.getRow() + "<br />");
    and this increments as expected.
    I've read somepeople saying to do a count(*) before each query and to use that, but i am going to have 9 queries running on this page, so would like to use the above method if available to minimize hits on the database, i don't really want to have 18 queries running.
    Any ideas?
    TIA
    Tony

    Sarky78 wrote:
    Thanks for the quick response, but i'm a novice with jsp. It is not that much related to JSP.
    Can you explain what you mean here? Convert ResultSet to List<RowObject>, where RowObject is a javabean representing, well, a single row.
    Would this mapping have a performance implication?Not shocking. Maybe a few ms. The benefits are bigger. Clear separation of data and business/view layers, a shorter timespan that the connection has to be open, better and more easy postprocessing in the business and view layers, etcetera.

  • Can i get a number of rows in the select list??

    Hello~
    I am studying the "oracle call interface". but i don't know much about oci.
    Anyway i want to know that how can i get a number of rows.
    for example, there is a source code of the number of colums in the select list.
    The following is a list of DB(example)
    /*DB table*/
    ID NAME CODE ID
    1 A 1 A
    2 B 2 B
    /*source*/
    err = OCIAttrGet ((dvoid *) stmhp, (ub4)OCI_HTYPE_STMT, (dvoid*)
    &parmcnt, (ub4 *) 0, (ub4)OCI_ATTR_PARAM_COUNT, errhp);
    /*result*/
    The Column is 4. (ID, NAME, CODE, ID)
    So, i think that the row is 3 (ID, 1, 2) in the DB table.
    Simply, Can i get a number of rows in the select list??
    for example,
    err = OCIAttrGet ((dvoid *) stmhp, (ub4)OCI_HTYPE_STMT, (dvoid*)
    &parmcnt, (ub4 *) 0, (ub4)OCI_ATTR_RAW_COUNT, errhp);
    I'm trying to get the number of row count. but i can't find.
    Please, could you let me know that how can i get the number of row count.
    Thank you.

    Thank you for your reply.
    we are tested the source code by reply.
    The following is the test source code.
    /*source code*/
    strcpy (szStatement, "SELECT * from DB_TABLE");
    OCIStmtPrepare(gpOCIReadStmHandle, gpOCIErrHandle, szStatement,
         strlen(szStatement), OCI_NTV_SYNTAX, OCI_DEFAULT);
    OCIStmtExecute(gpOCISvcHandle, gpOCIReadStmHandle, gpOCIErrHandle,
         0, 0, 0, 0, OCI_DEFAULT);
    /* get a number of rows count , Reply : prajithparan*/
    OCIAttrGet((dvoid *)gpOCIReadStmHandle, OCI_HTYPE_STMT, (dvoid *)&nRowCount, NULL, OCI_ATTR_ROW_COUNT, gpOCIErrHandle))
    But There is a problem of the result value.
    The result value is 0. It's mean that the row count is 0. and then we are using the all of fuction is succeed.(return value)
    I don't know what is problem. Please let me know about the problem and solution.
    Thank you.

  • Calling number specification to be routed to designated agent via CCX script

    I want to be able to specify a number e.g. 502-8475 in the script that would then be routed to specific skilled agents in a queue. The number specify will be forward by another PBX to the queue number so that numberr will not be the caller number but the called. Can this be done with the script if so how.

    Different skills = different queue as UCCX Customer Service Queue (CSQ) is constructed based on skills assigned to it.
    If you simply want to reuse the same queue logic but queue the call to different set of agents, you still need to build different CSQ and assign the "new" skill to this CSQ as well as the agents.  Then you have couple of options to route it:
    1. Build new Application triggered by the number and point to the same script but override the CSQ name which needs to be exposed as parameter
    2. Change the existing script to perform a check to see what was the dialed number or original dialed number, you can accomplish this via "get call info" step, and then change the CSQ variable name to this new CSQ.
    HTH, please rate all helpful posts!
    Chris

  • How to get total number of nodes in a JTree?

    Hi,
    I am trying to get total number of nodes in a JTree, and cannot find a way to do it.
    The current getRowCount() method returns the number of rows that are currently being displayed.
    Is there a way to do this or I am missing something?
    thanks,

    How many nodes does this tree have?
    import java.awt.EventQueue;
    import javax.swing.*;
    import javax.swing.event.TreeModelListener;
    import javax.swing.tree.*;
    public class BigTree {
        public static void main(String[] args) {
            EventQueue.invokeLater(new Runnable() {
                public void run() {
                    TreeModel model = new TreeModel() {
                        private String node = "Node!";
                        @Override
                        public void valueForPathChanged(TreePath path,
                                Object newValue) {
                            // not mutable
                        @Override
                        public void removeTreeModelListener(TreeModelListener l) {
                            // not mutable
                        @Override
                        public boolean isLeaf(Object node) {
                            return false;
                        @Override
                        public Object getRoot() {
                            return node;
                        @Override
                        public int getIndexOfChild(Object parent, Object child) {
                            return child == node ? 0 : -1;
                        @Override
                        public int getChildCount(Object parent) {
                            return 1;
                        @Override
                        public Object getChild(Object parent, int index) {
                            return node;
                        @Override
                        public void addTreeModelListener(TreeModelListener l) {
                            // not mutable
                    JFrame frame = new JFrame("Test");
                    frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
                    frame.getContentPane().add(new JScrollPane(new JTree(model)));
                    frame.pack();
                    frame.setLocationRelativeTo(null);
                    frame.setVisible(true);
    }But for bounded tree model using DefaultMutableTreeNode look at bread/depth/preorder enumeration methods to walk the entire tree. Or look at the source code for those and adapt them to work with the TreeModel interface.

  • How to get the number of rows in a ResultSet

    Hello,
    I'm an intern and I'm trying to get the number of rows from result set in oracle using rs.last() and rs.beforeFirst() methods
    but I got an error. Could Below is my sample code:
    import java.sql.*;
    public class SarueckConnect {
    public static void main(String[] args) {
    Connection con = null;
    Statement stmt = null;
    ResultSet re = null;
    String[] ParamArray;
    ParamArray = new String[24];
    //Properties logon;
    try {
    Class.forName("oracle.jdbc.driver.OracleDriver"); //Loading the Oracle Driver.
    con = DriverManager.getConnection
    ("jdbc:oracle:thin:@258.8.159.215:1521:test_DB","data","data"); //making the connection DB.
    stmt = con.createStatement ();// Sending a query string to the database
    //stmt.executeUpdate("UPDATE test_table set steuk = 6 WHERE steuk = 5");
    ResultSet rs = stmt.executeQuery("SELECT mandt,kokrs,werks,arbpl,aufnr,vornr,ile01,"+
    "lsa01,ism01,ile02,lsa02,ism02,ile03,lsa03,ism03,ile04,lsa04,ism04,steuk,matnr,budat,"+
    "kostl,pernr,rueckid FROM test_table where steuk =6");
    //Print the result out.
    rs.last(); //This is the line which gives an error.
    int rows = rs.getRow();
    rs.beforeFirst();// I presume this is wrong to.
    ParamArray = new String[24*rows];
    int counter=0;
    while (rs.next()) {
    for (int i = 1; i <= 24; i++){
    ParamArray[i-1+(counter*24)] = rs.getString(i);
    System.out.print(rs.getString(i) + '\t');
    System.out.println();
    counter++;
    } catch(Exception e) {
    e.printStackTrace();
    } finally {
    try
    if(stmt != null) stmt.close();
    if(con != null) con.close();
    } catch (Exception exception) {
    exception.printStackTrace();
    TryBapi sap = new TryBapi(ParamArray);
    }When I run the code I do have the following ERROR Message:
    java.sql.SQLException: Invalid operation for forward only resultset : last
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
    at oracle.jdbc.driver.BaseResultSet.last(BaseResultSet.java:91)
    at SarueckConnect.main(SarueckConnect.java:28)Please could any body Help me out here to figure out how to correct this?
    Any Help would be highly apprecited.

    make your result set scrollable...Not such a good idea. With Oracle, the JDBC driver will read and cache all the ResultSet in memory (with other DBMSs/drivers the behavior will probably be different, but you will still have some unnecessary overhead).
    You can do the caching yourself if you think it's worth it. If the piece of code you posted is why you need this for, then use a List or Vector and you won't need to know the size upfront.
    Alin,
    The jTDS Project.

  • Just bought Elements 12 from Best Buy, Tried to redeem serial number. Keeps rejecting Redemption code.

    Just bought Element 12 from Best buy. Tried to get serial number using inserted reception code provided. Get message saying code is invalid.

    Have you also checked your receipt? And have you tried this?
    Redemption Code Help

  • Problem with Call Redirect step

    Hi
    I am trying to use Call Redirect step to forward the calls to receptionit's voice mail box after office hours.
    My script is very simple.
    Start
    Accept
    Call Redirect (destination: voice mail pilot number, Called address reset to receptionist extension)
    End
    Haven't included the date and time checking.
    But it just doesn't go to receptionist's voice mail box.
    The strange thing is, when I call the number (CIT route point for reception), it goes to helpdesk's voice mail box...
    I have another script (not done by me) for helpdesk with IVR, where you can press 2 to leave voice mail. It works fine. And its using the same script.
    But I didn't copy the script.
    Where did I possibly make a mistake?
    I have been struggling it for 3 days
    Regards,
    Raymond

    Your configuration looks fine, and I'm sure you can see that it's nearly identical to the working script.
    So there's something else at play here.
    First thing I can see is, you sent a screenshot of a script off your PC, and not from the repository of the server.  So, it is possible that the script loaded into memory is different than the script you are showing us.  Do this: log into AppAdmin, and click on the application, note the script file name, then in your Editor go to File > Open, and select the script repository icon (purple icon) then open the default folder, then open the script from there.  This will be the actual script in use.
    Second, refresh your application.  You could be working off the script in the repo, but forgetting to refresh the application.
    Third, you said your script, which was created from scratch, goes to 650666, which just happens to be the mailbox from the help desk script.  I think that's a little too convenient, and would like to see a screenshot of a route plan report for 4000 and for 650666.
    Last, are you using the same CCG on your trigger as the working helpdesk script?
    Anthony Holloway
    Please use the star ratings to help drive great content to the top of searches.

  • Trying to Get Skype Online Number

    Trying to get Skype online number. I pick my country and state, but can't get past that.
    goes to step #2, and shows loading area codes, but then it goes blank and won't let me pick area code.  Already bout unlimitted monthly calling subscription in case that was problem, but still doesn't work.   Help!
    R.J.

    I have the same problem, after I choose my state, the area codes are 'loading' but none are displayed in the drop down menu. I tried this a few days ago as I was exploring this option and phone numbers for my area code were shown. So,  a  temporary glitch?

  • Hello ive been trying to get this matter token care of for the past 24 hrs and still no help im getting very upset now I paid 100 plus $$ to have this program that isn't even working I would like to speak to someone about on the phone I got a 1800 number

    hello ive been trying to get this matter token care of for the past 24 hrs and still no help im getting very upset now I paid 100 plus $$ to have this program that isn't even working I would like to speak to someone about on the phone I got a 1800 number for tech but everytime I call it hangs up and says to chat........ ive been doing that all day yesterday its kinda getting old telling the same thing over n over again so I would like some real live help a number I can call or someone can call me 402 802 1211 everytime I try to do something on this it ask for my serial num I put it in and it says invalid number and when I do my pics it has trail across them

    Hi,
    I'm sorry to hear that you are having problems but this is a user to user forum and only occasionally visited by Adobe staff. Depending on your version of Photoshop elements, you may be able to get help through the chat sessions starting here
    https://helpx.adobe.com/uk/contact.html?promoid=KLXNA
    If you give us details like your operating system, Photoshop elements version and the problem you ae having, someone may well be able to help you.
    Brian

  • UCCX Called Number

    Hello,
    I am writing a UCCX script that pulls the calling and called numbers and does some other cool stuff to find an outcome and finally what to do with that specific call.
    Everything is working except I am not getting the called number. The called number I am seeing is the CTI Route Point number that was called to get the call into UCCX rather than the PSTN number.
    The setup is as follows:
    PSTN ---> SIP ---> CUBE ---> CUCM ---> UCCX 
    I can see the called number in the SIP messages and of course call manager is routing based all the called number I have done everything I can think off but it is still not showing me the PSTN called number in UCCX.
    I have attached a screen shot of the Get Call Contact Info step in UCCX scripting let me know if you need to see anything else related to the script.
    Any help appreciated.
    Thanks

    If the DNIS supplied at ingress to CUCM does not match the CTI RP DN then either you have Significant Digits stripping the called number down on the SIP trunk or a translation pattern modifying the called number before it gets to the CTI RP. In either case, CCX can only work with what CUCM gives it over the CTI QBE channel. A translation pattern resets the calling/called number to whatever transform it is performing so "Original Called Number" won't work either.
    Just mentally map the PSTN DNIS to the CTI RP DN and program the script to act accordingly based on the CTI RP DN.

Maybe you are looking for

  • How do I erase the free space on macbook pro retina?

    I went to erase the free space on my MacBook Pro Retina in the Disk Utility but it says not available for this type of drive. Is there a way I can get around this?

  • Corrupt recorded pdf with Safari 6.02 ?

    I recently updated Safari to 6.02 on my MacBook 4.1 with Lion 7.5. With my previous Safari version, I could record pdf files without problem. Now, I can still record pdf but I cannot read them back, the system tells me "corrupt file". This problem is

  • Info about report to rebuild MVER table

    Dear guru , Can you give me info about  report ZMVERBRP that rebuild historical consumptions ? Oss note 804011 describe that I can use note 791728. But this note doesnu2019t exist. Can you help me ? Thanks

  • Installing Adobe CS Creative Suite 4

    Hello If someone could help me before i scream the place down I would really appreciate it!! I have adobe creative suite 4 master collection that i would like to install on my macbook. The problem I have is that the instructions with it are not good

  • Can I run Mountain lion?

    From what I can see online it's saying I can't run Mountain lion on my iMac however if I go by just the spec's alone it seems I could run it. I'm not sure if I should just go ahead and try to see if it runs or not so I thought I would post the spec's