cancel
Showing results for 
Search instead for 
Did you mean: 

In CDC DataFlow why is the DF failing after successfully running 10 records?

When running a DataFlow in CDC, I get the following error in the logs from a "record.evaluate" component that has a script: Script trace reach its max capacity, messages from script 'check SMC' will be ignored. trace capacity: 10"

I know that if I run the DataFlow from "Run Test" button, it is limited to 10 records, therefore I used "Scheduler" where there is no limitation according to the docu. but I still get this error.

Thank for suggestions!

Accepted Solutions (1)

Accepted Solutions (1)

samuelyang
Product and Topic Expert
Product and Topic Expert

Hi Robert,
I guess you are logging too many lines in the script, like one log line per each customer account record.

Per documentation:

Each script is allowed a maximum of 10 logged lines. Therefore, you should not write a log line per each record, but use the logger only to record errors or occasional messages.

0 Kudos

Thanks Samuel! It worked, I removed all logs.

Answers (0)