Customer Portal

Differentiating GRAPH_ERROR event causes.

Comments 2

  • Avatar
    admin
    0
    Comment actions Permalink
    Hi twaldock,

    I would create 2 graphs:

    1st takes file path to be processed and execute second graph (RunGraph component). Depending on result of run it will act (so move file, send mail, ...). RunGraph have 2 outputs - success/fail - this will give you 2 execution branches you need. Description of problem can be obtained from log file (optional parameter of RunGraph : see http://www.cloveretl.com/documentation/ ... graph.html). If you will put some extra signature into you log lines, it can be quite easily parsed/extracted.

    2nd will take file, try to validate it and throw error in case of problems. Before throwing error, it will log issue(s) by function "printLog" (see here http://www.cloveretl.com/documentation/ ... -ctl2.html )
  • Avatar
    twaldock
    0
    Comment actions Permalink
    Thanks Jarek!

Please sign in to leave a comment.