cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
700
Views
0
Helpful
2
Replies

Modifying an integer in a script

shikamarunara
Level 4
Level 4

Hello,

     I am working on a way to move calls to different CSQs based on the time spent waiting.  The start of my script plays back an audible greeting telling the caller how long the oldest call waiting in queue has been there.  When the Get Reporting Statistic inserts a number into the integer object I've created, I need it to add that number to something else.  So, for example, a caller waits in Q1 for 90 seconds before moving to Q2.  The Get Reporting Statistic should include the time spent waiting in Q1 in order to accurately reflect the caller's time spent waiting.  How can I add 90 seconds to the integer's value?

1 Accepted Solution

Accepted Solutions

Chris Deren
Hall of Fame
Hall of Fame

Simply define it as a varaible and then use set step to add desired number to it, i.e.

set var1 = var1 + 90

Chris

View solution in original post

2 Replies 2

Chris Deren
Hall of Fame
Hall of Fame

Simply define it as a varaible and then use set step to add desired number to it, i.e.

set var1 = var1 + 90

Chris

Thanks, Chris.  That did the trick.