You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Value of variable set by custom script not available to other columns?

Received Response
edited Jul 10, 2019 4:05PM in Reporting & Analytics for B2C Service 7 comments


I've searched around a bit, but I haven't seen an answer to this one...

I have a custom script that is setting a variable in the process tab. I have a column that displays that variable, so I can see it's getting set correctly. Then I have another column that uses that variable in an IF statement to decide what to do. It seems that the variable is not set at the time when the IF statement is evaluated. To verify this, I added a simple test column with the following definition:

if ($TotalIVRSessionCount > 1, 'multiple sessions', 'one session') 

In the attached image, you'll see I always get "one session", even though there are clearly more. Am I missing something?

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!