Customer Portal

Conditional data reading from Flat file

Comments 3

  • Avatar
    twaller
    0
    Comment actions Permalink
    Hello Amit,

    As regards your question, I would like to advise you not to forget the possibility of the Data policy attribute.
    You can switch its default setting (Strict, which causes fails of the graph by each error).
    You can select the other two options: either Controlled, which saves errors to console, or Lenient, which ignores errors and does not save them.
    In both cases, graph does not fail. If you want to parse the mentioned file, set the Skip first line to true. And switch Data policy to any other value than the default Strict.
    It will work, of course, if you do not want to save also the footer.

    Best regards

    Tomas Waller
  • Avatar
    mzatopek
    0
    Comment actions Permalink
    Or you can consider to use the MultiLevelReader component.
  • Avatar
    tava.amitava
    0
    Comment actions Permalink
    Thanks for your help. By setting the datapolicy attribute in reader component to lenient the graph ran successfully.

Please sign in to leave a comment.