cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
520
Views
0
Helpful
0
Comments
cdnadmin
Community Member
This document was generated from CDN thread

Created by: CHARLES SMITH on 20-04-2009 10:03:52 PM
When you utlilize the Counter element that is built into CVP you have to set an inital count on the properties of that element. If you revisit that counter the inital count is ignored and it increments from the inital count when you first visited the elemenet. How do you reset this so you can set the inital count again if you revist the element in the same session?
 
 

Subject: Re: New Message from CHARLES SMITH in Customer Voice Portal (CVP) - General
Replied by: Janine Graves on 20-04-2009 10:18:42 PM
Because the counter is element data, there's no way to reset the counter
within the same phone call (unless you use Java and create a 'Dynamic
Configuration').

Instead, you can create a session variable named myCounter, with initial
value 0 in some element's data tab (name the element 'initMyCounter'

To increment the counter, use the Math element. Tell it to store the
result of the math operation into 'Session data' named 'myCounter'
(don't use quotes) set the expression to {Data.Session.myCounter}+1

Then to reset the counter, revisit the 'initMyCounter' element.

Janine



Cisco Developer Community Forums wrote:
> CHARLES SMITH has created a new message in the forum "General
> Discussion - All Versions":
>
> --------------------------------------------------------------
> When you utlilize the Counter element that is built into CVP you have
> to set an inital count on the properties of that element. If you
> revisit that counter the inital count is ignored and it increments
> from the inital count when you first visited the elemenet. How do you
> reset this so you can set the inital count again if you revist the
> element in the same session?
> Â
> Â
> --
> To respond to this post, please click the following link:
>
> <http://developer.cisco.com/web/cvp/forums/-/message_boards/message/1302064>
>
> or simply reply to this email.

Subject: RE: Re: New Message from CHARLES SMITH in Customer Voice Portal (CVP&#
Replied by: CHARLES SMITH on 22-04-2009 01:07:11 PM
What an ingenious answer. Thanks. I will try that out.
Getting Started

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:

Quick Links