Dialer SDK > Testing > Interview simulator > GetSpecificContact
 
GetSpecificContact
Syntax
GetSpecificContact(SampleFieldsXml As String, FailOver As Boolean, Review As Boolean)
Type
Method
Parameters
SampleFieldsXml
The sample fields to be used for selection criteria as XML
FailOver
Indicates if the contact is being selected as part of failover testing.
Review
Indicates if the contact is being selected for review.
Return value
None
Description
Gets the next contact using ISessionEngine.GetNewSampleRecordWithCriteria() which calls ISampleManagementProvider.Get(). The contact is not returned but the SessionEngine does have a contact at this point.
Remarks
Example SampleFieldsXml:
<SampleFields>
  <SampleField>
    <name>ID</name>
    <value>ID1</value>
  </SampleField>
</SampleFields>
The sample record is available from the SampleId and SampleRecordXml properties. This record should be returned without being dialed. Using this method would be a good way of testing preview/manual dial.
See also
RunInterview (FUTURE)
RunAudioOperation
ReturnContact
DialContact
Hangup
GetCallStatus
LogOnSupervisor
StartMonitoring
StopMonitoring
GetDialerActivity
Interview simulator