Customer Portal

How to use if contion in tranform function?

Comments 1

  • Avatar
    admin
    0
    Comment actions Permalink
    Hi Kunaljd,

    I don't know what you would like to achieve, but your current code do this:

    * check RECORD_TYPE=="asd"
    * if equal, set output record data
    * if not equal, do nothing
    * in both cases send record

    This is probably not what you want. If you would like to send record just in case condition is true, use "return OK;" from within block. For rest of cases return SKIP.

    See http://doc.cloveretl.com/documentation/ ... alues.html for details.

Please sign in to leave a comment.