Data360 Analyze

 View Only
Expand all | Collapse all

What is d360 equivalency to LAE abort() function from Lavastorm

  • 1.  What is d360 equivalency to LAE abort() function from Lavastorm

    Posted 10-15-2020 14:21

    In Lavastorm I used if ... then abort("with some description of the error")

     

    How do we do the same thing in D360?

     



  • 2.  RE: What is d360 equivalency to LAE abort() function from Lavastorm

    Employee
    Posted 10-15-2020 14:46

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Have a look at the Help doc for Transform node.

    Logging an error and failing the node upon encountering an error condition

    ConfigureFields

    out1 += in1



    ProcessRecords

    out1 += in1 #AccountNumber is a required field, error if not present if in1.AccountNumber is Null: msg = 'Account Number missing on record: ' record = str(node.execCount) node.logger.error(msg + record) raise node.fail()


  • 3.  RE: What is d360 equivalency to LAE abort() function from Lavastorm

    Posted 10-28-2020 10:51

    thanks!