Desktop User Guides > Professional > Interview scripting > Writing interview scripts > Interactive Voice Response interviews > Writing an IVR hand-off function > Passing information to the IVR system > Passing an interview serial number or sample record key
 
Passing an interview serial number or sample record key
To pass the interview serial number to IVR, include:
IOM.Info.Serial
in the DTMF string.
If the sample record key is wholly numeric you can pass that value to IVR so that you have a link between the IVR data and the sample record. To get the sample record key, place one of the following in the DTMF string:
IOM.Info.Respondent
IDIOM.SampleRecord["
<name>"]
where <name> is the name of the field that stores the record key.
If you are not using sample management, the respondent ID returned by IOM.Info.RespondentID is an automatically generated value that might be wholly numeric.
See also
Passing information to the IVR system