ParserAndSerializer Project

The ParserandSerializer project contains one process: parserandserializer.process. The sample project shows how the file parser activity processes the input file based on the picked input schema and how the file serializer processes the output of the file parser activity based on the output schema picked and writes it to a text file.

ParserandSerializer Process

In this example, the file parser activity parses the ParserandSerializer.txt input file. The output from the file parser activity is given as an input to the file serializer activity. The file serializer activity then writes the output to the ParserandSerializerOutput.txt output file.

Depending on the option selected in the Append field of the Options for modifying output Filename in the Advanced Tab of the File Serializer activity, the output file name is generated.
  • If the Timestamp option is selected for the Append field, the timestamp will be appended to the output file name. For example, ParserAndSerializerOutput.txt20180306181146935.
  • If the Sequence Number option is selected for the Append field, the sequence number will be appended to the output file name. For example, ParserAndSerializerOutput.txt0000

The following figure describes the ParserandSerializer process: