07-12-2007 07:33 AM - edited 03-14-2019 01:03 AM
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?
07-18-2007 12:42 PM
Check this document for more information.
07-19-2007 01:57 AM
Maybe to check if the Contact is still active?
Do you mean Set Enterprise Server Data in step 3,True ?
07-19-2007 05:46 AM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide