How to do a DB lookup in ICM and return the ANI and Rewards Number to CTI

Does anyone know how to take the ANI and do a database look up to get the customer loyalty program number?  After the number is collected, I need to return the ANI and the loyalty number to CTI using variable 5.  Any feedback on how to accomplish this? 

Ok if you have succesfully connected to the Database and call come out of the Right branch in your DBLookUp Node.
You need to create a Set Variable, If you want to display the Loyalty Number in Peripheral Variable 1, Choose that variable and Click th formula Editor. In the formula Editor, choose the Object Type as Database select the database and choose the vairable as Loyalty Number.
Note :You should have all the Variable in the Databse Explorer created under this Databse.
I have atached a scrrenshot like how to se the Customer Type in Peripheral Variable 1
By Default ANI should be there in the Agent Desktop or Toolkit
Pam Scarpino wrote: Thank you.  This is very helpful.  We are stuck on the formula now.  We want to return the calling line id and the loyalty number to CTI.  Do you know how the formula should look?
Rate if this helpful

Similar Messages

Maybe you are looking for

  • Problems using JAAS with EJB 3.0 on JBoss 4.0.4-GA

    Hello all, I am trying to build a very simple JavaEE application with JAAS, but I getting mad. I have an EAR packed with a WAR module an EJB JAR module and a JAR with other classes. Struts is the MVC framework and EJB 3.0 is been used. First of all,

  • Classnotfound exception in servlet accessing corba

    Hi there, I am trying to access a corba based application through my servlet hosted on Tomcat 4.1. Continously getting the following error message. Have checked the classpath. Can you please let me know which jar file contains the said missing class

  • SPA9000 for Newbie

    Hi all, I am thinking of buying the SPA400 and SPA900 for my home business. I have never used a PBX before. There are a few questions I would like to ask: 1) We have only one PSTN line. Do we need at least two lines/phone numbers in order to forward

  • Error message when watching movie

    I am watching a rented movie on apple tv and the message "an error occurred loading this content"  this also happens when i try to watch a movie rented first on my mac computer and watching on  tv.  Not sure what to do.

  • Error Setting Blob - Crystal Layout for Addon

    Hi all, i'm facing a problem when i try to add a rpt file inside BO, see bellow like i do: SAPbobsCOM.ReportLayoutParams oNewReportParams = null;             SAPbobsCOM.BlobParams oBlobParams = null;             SAPbobsCOM.BlobTableKeySegment oKeySeg