Desktop productivity for business analysts and programmers

Code node error that I want to supress

Reply
N/A
Posts: 0

Code node error that I want to supress

I am new to EG3. I am migrating some of my processes to EG and I have one program that reads in a pipe delimited txt file. Several of the columns contain dates but each record does not necessarily need to have the date field populated. When EG runs the code, the log fills up with "Invalid Data..." messages each time a missing date is encountered. The missing date data is valid. EG process flow looks like the process fails (with the RED X over the code node). Is there a way to supress this type of error in a way that EG will not display the RED X?

Thanks
Community Manager
Posts: 2,697

Re: Code node error that I want to supress

You might be able to use the OPTIONS ERROR= statement to control how errors appear in the log. However, even one error in the log will cause EG to put the "scarlet X of shame" on your code node.

Chris
Valued Guide
Posts: 2,111

Re: Code node error that I want to supress

You may want to review your original code. MIssing data should not generate an "Invalid data" error unless you are using some sort of expression that won't allow missings (in which case, you should conditionally execute the code).

Doc
Ask a Question
Discussion stats
  • 2 replies
  • 89 views
  • 0 likes
  • 3 in conversation