Script Outbound. How introduce multiple numbers in a "Place call"?

Hi,
i'm trying to implement a script to make multiple outbound calls in a UCCX system but i don't know how can introduce several phones. The idea is simple but this step is critical:
1-take the first phone number and make the call.
2-take the secornd phone number and make the call.
3-.........
Thanks for help.
Regards

Antonio,
You can do this by taking the phone numbers from an XML document or from a database query (if you have premium license). You will need the place call step and make a loop around it, so when the first number is succesfully dialed, the script take the next number and so on. When using a XML you need to create one, for example:
<?xml version="1.0" encoding="ISO-8859-1"?>
088909220
088909221
Save it as Customer.xml (for example) and upload it to the UCCX repository (Documents in this case).
Creating the script:
Example variables (name, type, value)
xmlDoc, Document, DOC[Customer.xml]
suffixInt, int, 0
suffixString, String, ""
numberToCall, String, ""
Customer, String, ""   
calledContact, Contact, null
The script should be something like this:
Gabriel

Similar Messages

  • How to Split Single Outbound Idoc into Multiples

    Hi guys
    Hope you all are doing good.
    Can you please let me know , How to Split Single Outbound IDOC into multiples.
    I am looking for some sought of configuration in IDOC/from SHIPMENT Configuration level.  Because this needs to be implemented for Shipment IDOCS.  Please let me know if this can be done through configurations apart from implementing  User exit or copying the outbound shipment function module.
    Awaiting for your valuable replies.
    Best Regards
    Shiva

    Hello,
    1. Routes
    2. Packaging used
    3. Shipment Type
    Regards
    Waza

  • How to send one text to multiple numbers

    On iPhone 3GS , how do u send 1text to multiple numbers?

    The information below implies you must use MMS or iMessage (not SMS).
    [extracted from the iPhone User Guide for iOS 5]
    Sending messages to a group
    Group messaging lets you send a message to multiple recipients. Group messaging works with iMessage and MMS (not available in all areas).
    Send messages to a group: Tap the new message button, then enter multiple recipients.
    Note: With MMS, group messaging must also be turned on in Settings > Messages, and replies are sent only to you—they aren’t copied to the other people in the group.

  • Arggg!! How do I subtract multiple numbers in a column?

    Can anyone tell me how to subtract multiple numbers down a column in Numbers? I want to start with my figure in A2 and I want to be able to subtract the figures in cells A3 down to A19 from it, with the answer showing in A20. I'm sure this is very basic, but can't seem to make it work whatever I try
    Obviously I am a novice (to both Mac's and Spreadsheets)
    Many thanks.

    in Cell A20 type()omit the double quotes:
    "=A1-SUM(A2:A19)"

  • When looking at recent calls on my iPhone running iOS 7, how can I tell which number called me when a contact has multiple numbers listed?

    I have an iPhone 5s and I am coming from an Android phone. On the Android phone, when looking at recent calls both the contact name and the number is displayed. On my iPhone I only see the contact name, in the case of contacts with multiple numbers attached how do I see which number the call came from?

    Click the "i" in the circle to the right of the contact name.
    The phone number the call came from is listed in blue.

  • How to execute sql scripts from Powershell across multiple databases

    Re: How to execute sql scripts from Powershell across multiple databases
    I have an tsql script that I want to run across a list of databases. How is the best way to do this in Powershell? Thanks.

    My example below, using just the SMO and not breaking up the batches, the ExecuteWithResults give the following error when the .sql file contains a GO. My script files are as simple as a DECLARE and then a GO.
    WARNING: SQL Script Failed
    The object of type "Microsoft.PowerShell.Commands.Internal.Format.FormatStartData" is not valid or not in the correct sequence. This is likely caused by a user-specified "format-list" comm
    and which is conflicting with the default formatting.
        + CategoryInfo          : InvalidData: (:) [out-lineoutput], InvalidOperationException
        + FullyQualifiedErrorId : ConsoleLineOutputOutOfSequencePacket,Microsoft.PowerShell.Commands.OutLineOutputCommand
    Also, when executing from the ISE, is there a way to force the ISE to release the files. I am having to close the ISE and reopen my script every time I want to make a testing change to the .sql file.
    [reflection.assembly]::LoadWithPartialName("Microsoft.SqlServer.Smo")
    $scriptspath = "C:\temp\psExecuteSQLScripts\scripts"
    $SQLServer = "fidevc10"
    $SQLDB = "Bank03"
    # Create SMO Server Object
    $Server = New-Object ('Microsoft.SQLServer.Management.Smo.Server') $SQLServer
    # Get SMO DB Object
    $db = $Server.Databases[$SQLDB]
    # Load All SQL Scripts in Directory
    $scripts = Get-ChildItem -Path (Join-Path $scriptspath "*") -Include "*.sql" -Recurse
    # Loop through each script and execute
    foreach ($SQLScript in $scripts)
    $fullpath = $SQLScript.FullName
    # Read the Script File into Powershell Memory
    $reader = New-Object System.IO.StreamReader($fullpath)
    $script = $reader.ReadToEnd()
    # Execute SQL
    Write-Host "Executing $SQLScript on $SQLDB...."
    try
    $ds = $db.ExecuteWithResults($script)
    Foreach ($t in $ds.Tables)
    Foreach ($r in $t.Rows)
    Foreach ($c in $t.Columns)
    Write-Host $c.ColumnName "=" $r.Item($c)
    Write-Host "Complete"
    catch [Exception]
    Write-Warning "SQL Script Failed"
    echo $_.Exception|format-list -force
    Write-Host " " -BackgroundColor DarkCyan

  • How to calculate SUM from multiple numbers in one cell

    Is it possible to calculate SUM if I want to put multiple numbers in one cell?
    Many thanks in advance

    you can sum cell by using the sum() function.
    you can sum a row:
    =sum(1:1)
    will sum ALL cells in row 1
    you can sum a column:
    =sum(C)
    will sum all cells in column C
    you can sum a list of cells:
    =sum(A1, C5, E76, B1:5)
    will add together cells A1, C5, E76, B1, B2, B3, B4, and B5

  • How do you import CSV, tab, and OFX files into multiple Numbers columns

    This Apple function from Numbers '08 Help "Importing a Document" does not seem to work:
    "You can create a new Numbers spreadsheet by importing a document created in Microsoft Excel or AppleWorks 6. Numbers can also import files in comma-separated value (CSV) format, tab-delimited format, and Open Financial Exchange (OFX) format."
    No amount of experimenting with Import, Export, Save As, Paste and Match Style, or using other applications will enable importing CSV, tab, or OFX files into multiple Numbers columns. Instead, all data is imported into a single Numbers column, which then has to be manually and tediously parsed one data element at a time into columns, one row, and one column at a time.

    Jerrold Green1 wrote:
    Joe,
    They all have worked here. I'm not presently able to try in Numbers 08, but I know I've done them all.
    Just double-clicking a .csv file will open Numbers and display the data in a table. Dragging a .csv file to your Numbers icon on the Dock will open it as a Numbers table. Dragging it to a Sheet in an open Numbers document will make a new table in an existing document, and dragging to a table will insert the csv file into the table you dropped it into.
    CAUTION
    With Numbers '08, CSV files must use the comma as delimiter on every setting of decimal separator.
    Numbers '09 behave differently.
    With your tab-delimited file open in a word processor, copy it, then paste it into a table in an open Numbers document. When doing this, select a cell in the table, but don't double-click into the text field of the cell, then paste.
    Why use this long road when we may import directly Tab Separated Values file (tsv.txt) with Numbers '08 (or '09) ?
    Yvan KOENIG (VALLAURIS, France) jeudi 2 décembre 2010 21:05:36

  • How to round numbers using javascript in Adobe Acrobat Pro?

    How to round numbers using java script in Adobe Acrobat Pro?
    For example:
    1.2 becomes 1.0
    1.7 becomes 2.0
    Thank you.

    Assuming you've already set the field to a Number format category and limited it to one digit to the right of the decimal, you can use the following custom Validate script:
    // Custom Validate script
    event.value = Math.round(event.value);
    More info: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/roun d

  • Report script issue - showing comma in numbers

    Good Morning,
    I have a report script that runs on one Essbase cube and produces a datafile to load into a Planning cube via a load rule. The issue is that when I load the datafile into Planning, it says it is loaded successfully but not all of the data loads. I also do not recieve an error log. I have checked the datafile and all of the relevant data is stored. I believe that the issue is that the report script has commas in the numbers. The load rule replaces the comma with a space, but I believe this is causing an issue with the load. Perhaps there is an extra comma somewhere in the file and when the load rule loads the file, it thinks it has finished.
    My question is, how do I remove the commas within the numbers in the report script? Below is a portion of the report script.
    // This portion of the script captures data at level 2 and generation 9 within the four operating divisions to get all field level data
    <LINK (( <DESCENDANTS ("RC_P1301008017","Lev2,Entity") or <DESCENDANTS ("RC_P1301008019","Lev2,Entity") or <DESCENDANTS ("RC_P1301008021","Lev2,Entity")
    or <DESCENDANTS ("RC_P1301008029","Lev2,Entity")) and <DESCENDANTS ("RC_P1201008065","Gen9,Entity"))

    Do you use a { SUPCOMMAS } in your report script? That should suppress all commas in data values.
    http://docs.oracle.com/cd/E17236_01/epm.1112/esb_tech_ref/rw_supcommas.html
    You might also think about SUPALL:
    http://docs.oracle.com/cd/E17236_01/epm.1112/esb_tech_ref/rw_supall.html
    FWIW, I had a Planning app like this last year. The importing of the report script output into Access (oh, the horror) to do moderately intensive mapping and aggregating was...painful. The only cool part was that I was "not allowed to source data from the app" but I could "run any retrieve I wanted so long as security allowed it". Hmm, how is that different? Okay then, report scripts are it. ;)
    Regards,
    Cameron Lackpour

  • I want to setup multiple numbers but need a way to...

    I want to setup multiple numbers but I need a way to identify which number was called when it comes in. I have a SkypeIn account with an online number that I'm using. I'm planning on setting up a 2nd online number so I can track calls from brochures but I need to make sure theres a way to identify that a call is coming from skypephone#2
    I need to get this figured out urgently so any help at all would be greatly appreciated.
    Thanks!

    Dear,
    your question sound powerful.
    I am curious to know also. I am having the same problem right now. I can not even identify which skype number is being called so that we can know the language we use for the customers. Believe me, if the setting does not work, then is the effort getting skype number in vain and partially useless. Please can some one help? Question: How to set up 2 different skype numbers for us to know which of the numbers a customer called.
    Thank you in advance!

  • HT204380 Facetime with iOS7 for multiple numbers

    How do I use facetime when in my contact other person has multiple numbers and facetime works only for one. Earlier it used to ask me before making a call, but in iOS7 there is no such option

    You can... But.. they will not be able to Contact each other...
    This may be of Value and Interest to you...
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l

  • How do multiple family members use iTunes.? One account or multiple?

    How do multiple family members use iTunes. One account right now but apps gets added to all devices and iTunes messages go to all devices.  Can multiple accounts be setup and still have ability to share purchased items?

    Hey Ajtt!
    I have an article for you that can help inform you about using Apple IDs in a variety of ways:
    Using your Apple ID for Apple services
    http://support.apple.com/kb/ht4895
    Using one Apple ID for iCloud and a different Apple ID for Store Purchases
    You can use different Apple IDs for iCloud and Store purchases and still get all of the benefits of iCloud. Just follow these steps:
    iPhone, iPad, or iPod touch:
    When you first set up your device with iOS 5 or later, enter the Apple ID you want to use with iCloud. If you skipped the setup assistant, sign in to Settings > iCloud and enter the Apple ID you’d like to use with iCloud.
    In Settings > iTunes and App Stores, sign in with the Apple ID you want to use for Store purchases (including iTunes in the Cloud and iTunes Match). You may need to sign out first to change the Apple ID.
    Mac:
    Enter the Apple ID you want to use for iCloud in Apple () menu > System Preferences > iCloud.
    Enter the Apple ID you want to use for Store purchases (including iTunes in the Cloud and iTunes Match) in Store > Sign In. In iTunes 11, you can also click iTunes Store > Quick Links: Account.
    PC (Windows 8):
    Enter the Apple ID you want to use for iCloud in the Control Panel. To access the iCloud Control Panel, move the pointer to the upper-right corner of the screen to show the Charms bar, click the Search charm, and then click the iCloud Control Panel on the left.
    Enter the Apple ID you want to use for Store purchases (including iTunes in the Cloud and iTunes Match) in iTunes. In iTunes 10, select Store > Sign In. In iTunes 11, click iTunes Store > Quick Links: Account.
    PC (Windows 7 and Vista):
    Enter the Apple ID you want to use for iCloud in Control Panel > Network and Internet > iCloud.
    Enter the Apple ID you want to use for Store purchases (including iTunes in the Cloud and iTunes Match) in iTunes 10 in Store > Sign In. In iTunes 11, click iTunes Store > Quick Links: Account.
    Note: Once a device or computer is associated with your Apple ID for your iTunes Store account, you cannot associate that device or computer with another Apple ID for 90 days. Learn more about associating a device or computer to your Apple ID.
    Thanks for using the Apple Support Communities!
    Cheers,
    Braden

  • Folder level script? How can I use field value as a pdf filename in save as dialog box

    I read somewhere that if you use a folder level script, you can do things like save a pdf with a specific filename - possibly based on a field name.
    How would one set up a folder level script?
    How do you execute a script from the PDF?
    What code would you use to change the PDF name to the contents of the fFieldName text field?
    Or, is this really just impossible to do?

    The article is interesting.  It suggests you place code like this:
    // Page Replacement Function
    var ReplaceLastPage = app.trustedFunction( function(cPath) {
    app.beginPriv();
    this.replacePages(this.numPages-1, cPath); app.endPriv();
    In the trusted folder.  What is the path of the trusted function(s) that get automatically loaded into Acrobat?
    I assume in the example above, function(cPath) is a function inside of the PDF...

  • How to store numbers in a stack....

    hello guys...i ve got the following assignment:
    Write a Java program that reads and evaluates a fully parenthesised arithmetic expression. The
    purpose of this program is to illustrate a fundamental use of stacks. Implement the stack using
    Linked Lists as explained in your notes.
    For e.g if a user enters the expression: (((6 + 9) / 3) * (6 � 4))
    The result should be 10.
    Your program should be properly documented and well structured. Specifications should be
    clearly written in your logbook for all the methods, constructors, and classes that you implement
    in the following format:
    Class / Method/ Constructor name explaining what it does
    Parameters
    Preconditions
    Postconditions
    Throws
    Now, i ve come up with the following code:
    import java.util.EmptyStackException;
    class StackNode {
         private static Object data;
         private StackNode link;
         private static StackNode head;
         private int totalnodes;
    // the constructors
    public StackNode(Object obj, StackNode lk)
         data = obj;
         link = lk;
    public StackNode()
         head = null;
         totalnodes = 0;
         // the push method
         public void push(Object obj)
              head = new StackNode(obj, head);
              totalnodes++;
         // the pop method
         public Object pop()
              Object answer;
              if(head == null)
                   throw new EmptyStackException();
              answer = head.getData();
              head = head.getLink();
              totalnodes--;
              return answer;
         // the isEmpty method
         public boolean isEmpty()
              return (head == null);
         // get data
         public Object getData()
              return data;
         // get link
         public StackNode getLink()
              return link;
         // size or length method
         public int size()
              return totalnodes;
         public static void main (String args [])
              int i;
              StackNode number = new StackNode();
              StackNode operator = new StackNode();
              head = new StackNode(data, head);
              number.push(new Integer(9));
              number.push(new Integer(6));
              operator.push(new Character('+'));
    and i dont know how to store numbers into the stack and how to use the operations such as addition substraction division and multiply...
    any ideas how to do that??
    cheers....

    This doesn't use a stack but the concept is the same:
    import java.util.*;
    public class formula {
    public  int aValue = 1;
    public  int bValue = 2;
    public  int cValue = 3;
    public formula() {
       //StringTokenizer st = new StringTokenizer("a + b/c", " abc()+-*/", true);
       //while (st.hasMoreTokens()) { System.out.println(st.nextToken()); }
       StringTokenizer st2 = new StringTokenizer("a + (c - b) + (b * c)", " abc()+-*/", true);
      int operand1 = 0;
      int operand2 = 0;
      int operator = 0;
      //flag: first operand has a value
      boolean firstOperandFull = false;
      //flag: second operand has a value
      boolean secondOperandFull = false;
      //flag: tokens are between parens
      boolean inParens = false;
      Vector inParensVector = null;
      MAINLOOP:
        while (st2.hasMoreTokens()) {
                  String x = st2.nextToken();
                  //if token is a blank skip it.
                  if (x.equals(" ")) { continue MAINLOOP; }
                  System.out.println(x);
                  //if token is open parens set flag and skip to next token
                  if (x.equals("(")) { inParens = true; inParensVector = new Vector(); continue MAINLOOP; }
                  //if tokn is close parens, retrieve the value from between the parens and reset flag.
                  if (x.equals(")")) { if (! firstOperandFull) { operand1 = doInParens(inParensVector); firstOperandFull = true; }
                                       else { operand2 = doInParens(inParensVector); secondOperandFull = true;  }
                                       inParensVector = null; inParens = false; }
                  //if token is open parens store all tokens until close else process the token
                  if (inParens) { inParensVector.add(x); }
                  else {
                       //if token is a variable put correct value in operand
                       if (x.equals("a")) { if (! firstOperandFull) { operand1 = aValue; firstOperandFull = true; }
                                            else { operand2 = aValue; secondOperandFull = true;  } }
                       if (x.equals("b")) { if (! firstOperandFull) { operand1 = bValue; firstOperandFull = true; }
                                            else { operand2 = bValue; secondOperandFull = true;  } }
                       if (x.equals("c")) { if (! firstOperandFull) { operand1 = cValue; firstOperandFull = true; }
                                            else { operand2 = cValue; secondOperandFull = true;  } }
                       //if token is a operator store the operation
                       if (x.equals("+")) { if (firstOperandFull) { operator = 1; } }
                       if (x.equals("-")) { if (firstOperandFull) { operator = 2; } }
                       if (x.equals("*")) { if (firstOperandFull) { operator = 3; } }
                       if (x.equals("/")) { if (firstOperandFull) { operator = 4; } }
                       System.out.println("operand1 = " + operand1 + " operand2 = " + operand2 + " operator = " + operator);
                        //if second operand has a value perform the operation.
                       if (secondOperandFull) {
                                               switch (operator) {
                                                        case 1 : operand1 = add(operand1, operand2); secondOperandFull = false; break;
                                                        case 2 : operand1 = subtract(operand1, operand2); secondOperandFull = false; break;
                                                        case 3 : operand1 = multiply(operand1, operand2); secondOperandFull = false; break;
                                                        case 4 : operand1 = divide(operand1, operand2); secondOperandFull = false; break;
                                                        }//end switch
                                                 } //end if
                     } //End inParens else
      } //End while
    System.out.println("answer = " + operand1);
    public static void main(String[] args) { //formula f = new formula();
    Vector v = new Vector();
    StringTokenizer st = new StringTokenizer(",Greg,,Paul,,", ",", true);
    String token = null;
    String lastToken = " ";
    boolean firstToken = true;
    while (st.hasMoreTokens()) {
    token = st.nextToken();
    if (firstToken) { if (token.equals(",")) { v.add("X"); }
    firstToken = false; }
    if (! token.equals(",")) { v.add(token); }
    else { if (lastToken.equals(",")) { v.add("X"); } }
    lastToken = token;
    } //End While
    if (token.equals(",")) { v.add("X"); }
    Enumeration tokens = v.elements();
    while (tokens.hasMoreElements()) {
          System.out.println((String)tokens.nextElement()); }
    } //End Main
    public int add(int operand1, int operand2) { return operand1 + operand2; }
    public int subtract(int operand1, int operand2) { return operand1 - operand2; }
    public int divide(int operand1, int operand2) { return operand1 / operand2; }
    public int multiply(int operand1, int operand2) { return operand1 * operand2; }
    public int doInParens(Vector inParensVector) {
          int operand1 = 0;
          int operand2 = 0;
          int operator = 0;
          boolean firstOperandFull = false;
          boolean secondOperandFull = false;
          Enumeration tokens = inParensVector.elements();
          INPARENSLOOP:
               while (tokens.hasMoreElements()) {
                  String x = (String)tokens.nextElement();
                  //if token is a blank skip it.
                  if (x.equals(" ")) { continue INPARENSLOOP; }
                  System.out.println("inparens : " + x);
                  //if token is a variable put correct value in operand
                      if (x.equals("a")) { if (! firstOperandFull) { operand1 = aValue; firstOperandFull = true; }
                                          else { operand2 = aValue; secondOperandFull = true;  } }
                  if (x.equals("b")) { if (! firstOperandFull) { operand1 = bValue; firstOperandFull = true; }
                                      else { operand2 = bValue; secondOperandFull = true;  } }
                  if (x.equals("c")) { if (! firstOperandFull) { operand1 = cValue; firstOperandFull = true; }
                                           else { operand2 = cValue; secondOperandFull = true;  } }
                 //if token is a operator store the operation
                 if (x.equals("+")) { if (firstOperandFull) { operator = 1; } }
                  if (x.equals("-")) { if (firstOperandFull) { operator = 2; } }
                 if (x.equals("*")) { if (firstOperandFull) { operator = 3; } }
                 if (x.equals("/")) { if (firstOperandFull) { operator = 4; } }
                  System.out.println("Inparens : operand1 = " + operand1 + " operand2 = " + operand2 + " operator = " + operator);
                 if (secondOperandFull) {
                                         switch (operator) {
                                                   case 1 : operand1 = add(operand1, operand2); secondOperandFull = false; break;
                                                       case 2 : operand1 = subtract(operand1, operand2); secondOperandFull = false; break;
                                                       case 3 : operand1 = multiply(operand1, operand2); secondOperandFull = false; break;
                                                       case 4 : operand1 = divide(operand1, operand2); secondOperandFull = false; break;
                                                       }//end switch
                                         } //end if
                  } //End while
               System.out.println("Inparens return = " + operand1);
               return  operand1;
    }//End doInParens
    }//End Class

Maybe you are looking for

  • How can I return to the top of an array indicator

    I have in my UI a 1D array indicator that I will navigate to and populate with different lists of items depending on other selections.  Always text elements. I have limited the number of visible rows to 20 max even though some lists will contain doze

  • Handling empty files

    Hello all,            In my scenario i am using  file as my sender, if the file size is zero then how to throw an exception saying that the file is empty to the user. how will i handle this issue. thanks in advance, Pradeep N

  • PDF error: a start doc printer call was issued. PDF on Ne11.

    adobe version. 6.0 pro when converting any doc to PDF it comes up with error. you file could not be printed due to an error on Adobe PDF on Ne11. -i tried to resinstall the app no luck. -tried in Word, excel, Autocad noluck. - i have several other ma

  • Dynamic Move statement

    DATA: t184 LIKE TABLE OF t184 WITH HEADER LINE. DATA: BEGIN OF pstyd OCCURS 0,   pstyd TYPE pstyd, END OF pstyd. LOOP AT t184.   pstyd-pstyd = t184-psty1. APPEND pstyd.   pstyd-pstyd = t184-psty2. APPEND pstyd.   pstyd-pstyd = t184-psty3. APPEND psty

  • CS4 DW - Template messed up

    Template looks good, but when updating  or creating new pages fonts and colors are wrong. Scanned for problems like viruses and the folder is clean. Not an html person so utterly lost and frustrated. Checked properties and the only things that seems