[resolved] tMysqlInput ignore error

Two Stars

[resolved] tMysqlInput ignore error

hi,
have a job that has to iterate a set of records and feed it to tMysqlInput component. I want to set it up in a way that even if tMysqlInput encounters an error, it will proceed to the next iteration.
tMysqlInput_1 -> IterateEachRecord ->tMysqlInput_2 -> tMysqOutput_1
Please help me on how to do this.

thank you so much!
-Chim


Accepted Solutions
Community Manager

Re: [resolved] tMysqlInput ignore error

You need to design the jobs like this:
main job:
tmysqlinput1--iterate--tRunJob

tRunJob: call the child job, and pass the current record to child job, refer to this KB article to learn how to pass data from main job to child job with context variables, uncheck the 'die on error' option to make the main job continue to execute even though the child encounters an error.

child job:
tMysqlInput_2 -> tMysqOutput_1


Regards
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business

All Replies
Community Manager

Re: [resolved] tMysqlInput ignore error

You need to design the jobs like this:
main job:
tmysqlinput1--iterate--tRunJob

tRunJob: call the child job, and pass the current record to child job, refer to this KB article to learn how to pass data from main job to child job with context variables, uncheck the 'die on error' option to make the main job continue to execute even though the child encounters an error.

child job:
tMysqlInput_2 -> tMysqOutput_1


Regards
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
Two Stars

Re: [resolved] tMysqlInput ignore error

great - thanks!

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.

Download