Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
Created by: SEAN NILSEN on 19-03-2009 05:39:48 PM Running CVP 4.1, is there a way to get at the Exit State value for that Element? I am resorting to setting session data because I can not find a reference to the structure of the Decision Element. I am also assuming that I am just unaware of the right data element to grab. These don't work: {Data.Element.<Element Name>.result} {Data.Element.<Element Name>.exit_state} {Data.Element.<Element Name>.Result} {Data.Element.<Element Name>.Exit_State} {Data.Element.<Element Name>.RESULT} {Data.Element.<Element Name>.EXIT_STATE} Thanks in advance!
Subject: Re: New Message from SEAN NILSEN in Customer Voice Portal (CVP) - General D Replied by: Janine Graves on 19-03-2009 09:36:57 PM You can access the exit state(s) in the Java code (you can get objects which are almost like arrays of ElementHistory and ExitStateHistory - the ElementHistory contains the name of every element visited (in order), the ExitStateHistory has the name of each exit state followed from the corresponding element).
But it's essentially impossible from the graphical Studio tool. So, if you don't want to resort to Java, then you should probably set a variable to have different values when you follow different exit states off the elements. This isn't always so pretty to look at though.
If you know a little Java, the CVP Java API is actually pretty easy to work with.
Janine www.TrainingTheExperts.com
Cisco Developer Community Forums wrote: > SEAN NILSEN has created a new message in the forum "General Discussion > - All Versions": > > -------------------------------------------------------------- > Running CVP 4.1, is there a way to get at the Exit State value for > that Element? > Â > I am resorting to setting session data because I can not find a > reference to the structure of the Decision Element. > Â > I am also assuming that I am just unaware of the right data element to > grab. > Â > These don't work: > Â > {Data.Element.<Element Name>.result} > {Data.Element.<Element Name>.exit_state} > {Data.Element.<Element Name>.Result} > {Data.Element.<Element Name>.Exit_State} > {Data.Element.<Element Name>.RESULT} > {Data.Element.<Element Name>.EXIT_STATE} > Â > Thanks in advance! > -- > To respond to this post, please click the following link: > > <http://developer.cisco.com/web/cvp/forums/-/message_boards/message/1199764> > > or simply reply to this email.
Subject: RE: Re: New Message from SEAN NILSEN in Customer Voice Portal (CVP Replied by: SEAN NILSEN on 23-03-2009 06:21:57 PM Thanks for your expertise Janine!
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: