Specifying an output file for contact logging

You can optionally output contact history to a flat file with a data dictionary or a delimited file.


  1. Open a flowchart in Edit mode.
  2. In the process configuration dialog box for a contact process, select File from the Enable export to or Log to list.
    The File option usually displays at the bottom of the list, after the list of mapped tables.

    The Specify output file dialog box opens.

  3. Select an output file type:
    • Flat file with data dictionary: Create a fixed-width file and a new data dictionary file.
    • Flat file based on existing data dictionary: Create a fixed-width file and select an existing data dictionary file.
    • Delimited file: Create a file in which field values are delimited by a tab, comma, or other character. If you select Other, enter the character to use as a delimiter. Check Include labels in top row if you want the first row of the file to contain a column header for each column of data. Check Append Timestamp in file name if you want to append timestamp in the filename. Output file will have timestamp appended to it and the format is <<File name>>_<<MM_dd_yyyy_HH_mm_ss>>.
      Note: If Append Timestamp in file name is selected along with Append to existing data option, then Append to existing data will get supressed and every time new file will get generated with timestamp in file name. If user wants Append to existing data, then untick the Append Timestamp in file name options.
  4. Enter the complete path and file name in the File name field or use Browse to select an existing file.
    Note: You can include user variables in the output file name (Options > User variables). For example, if you specify MyFile<UserVar.a>.txt as the file name, and the value of UserVar.a is "ABC" at the time that the process is run, the output is written to MyFileABC.txt. You must set the Initial value and the Current value of the user variable before running the flowchart.
  5. Unica Campaign completes the Data dictionary field with a .dct file with the same name and location as the file that you entered.
    If you want to use a different data dictionary, or to rename the data dictionary, enter the complete path and name of the data dictionary file in the Data dictionary field.
  6. Click OK.