Created by: peter parker on 01-07-2013 10:38:39 PM Hi, I am new to CVP. I wanted to capture some digits using digits element and store it as session data. when I click on data tab and select 'session' radio button, I can enter the name of variable name as "xyz" but what should I enter in the value field and create field. I want to use those digits in a java program in further part of callflow. Also can you please write that one line for getting that session data in my java program.
Thanks, Peter
Subject: how to create session data using digits element Replied by: peter parker on 01-07-2013 11:01:44 PM Hi, I am new to CVP. I wanted to capture some digits using digits element and store it as session data. when I click on data tab and select 'session' radio button, I can enter the name of variable name as "xyz" but what should I enter in the value field and create field. I want to use those digits in a java program in further part of callflow. Also can you please write that one line for getting that session data in my java program.
Thanks, Peter
Subject: RE: how to create session data using digits element Replied by: Abdul Waheed on 02-07-2013 03:42:58 AM Hi Peter welcome to CVP development
To get digits from customer you just need to add a variable in data tab as you are already doing. In value field give your element name and select 'After' in create. see all settings in attachment.
In java class you can get/set/update any session variable as
To get String number = (String) data.getSessionData("DIGITS");
To set /update data.setSessionData("DIGITS", number);
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: