Tracking sample field changes
HistoryTable stores the sample field value as defined when the record is returned. This means that the old value is not recorded if the field changed before the sample record was returned.
If you want to track the field’s value before and a change, an additional sample field is required in the main table. The additional sample field stores the previous value and tracks both the current and previous fields in the history.
Example
When old telephone numbers need to be recorded:
2 Add the field to the history reports fields in the UNICOM Intelligence Interviewer - Server Interviewing Options activity to ensure that the field's value will be written to the history records. For more information, see
Configuring history reports.
3 Modify the Sample Management script to set the value of the
_phoneNumber field to the
PhoneNumber field’s value in the
GetSampleRec() method. For more information, see
Changing the sample script.
See also