The PassedValue variable only applies in Call Trees that are used for outbound calls initiated from third-party applications. PassedValue is a read-only variable and can only be used to pass information from an external program to Active Call Center.
When an outside application is used to initiate outbound dialing in Active Call Center, information specific to that call may be required by the Call Tree. This is the situation that requires use of the PassedValue variable.
Examples of such situations include:
Refer to the Inbound Call Initiates Outbound Call Example for an example of how to use the PassedValue variable (look in the macro for the Node "Make_Outbound_Call").
Passing Multiple Values
To pass multiple values, pass a series of values as a delimited string and use the VBScript Split function to separate them. For example:
Dim strText,strArray,strMsg
strText = "1,Apple,B,Cat"
strArray = Split(strText, ",", -1, 1)
' strArray(0) contains "1".
' strArray(1) contains "Apple".
' strArray(2) contains "B".
' strArray(3) contains "Cat".
MsgBox strArray(0)
MsgBox strArray(1)
MsgBox strArray(2)
MsgBox strArray(3)