IPCC Script - why would this be done?

Unanswered Question
Jul 12th, 2007

I am reviewing a script developed by somebody not with our company anymore. Can anybody explain why the below would be done? This is logic handling sending a caller to voicemail.

1 - set some session information (understand this!)

2 - set a _contact = ******** (this is defined as a contact variable - value null - I am not sure how this gets set to ******* - when i go into the expression editor i cannot modify it)

3 - if (_contact != null) then

true -

set enterprise call info (_contact)

false - do nothing

4 - Call redirect(triggering contact--to VM Number)

What would the purpose of step 2 and step 3 be?

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
joluc_denmark Thu, 07/19/2007 - 01:57

Maybe to check if the Contact is still active?

Do you mean Set Enterprise Server Data in step 3,True ?

joannemarie Thu, 07/19/2007 - 05:46

It is strange. When it gets to step 2, that contact variable has never been used before and has a null value. And I'm wondering how the set statement works? As I am unable to initialize a contact variable using the expression editor, unless I have my syntax incorrect.

In step 3, the true branch of the if statement is doing a 'set Enterprise Call Info' on the contact referenced in step 2.

Actions

This Discussion