tMDMOutput cannot insert records when i check 'Is Update'

One Star

tMDMOutput cannot insert records when i check 'Is Update'

When i check the 'Is update' , it gives me an exception when i try to insert new records .
The exception is : cannot update document ... with id ... because it does not exist.
Highlighted
Employee

Re: tMDMOutput cannot insert records when i check 'Is Update'

You ticked "Is Update": MDM expects you're updating an existing record. Since MDM can't find the record you wish to update (which is expected in your case since you're creating the record), it throws an exception since "Update" doesn't have the meaning "Update or create".
One Star

Re: tMDMOutput cannot insert records when i check 'Is Update'

So how can i implement the update or create ? Do i have to use the tMDMOutput twice ?
Employee

Re: tMDMOutput cannot insert records when i check 'Is Update'

True, you should change the logic of your job to separate creations from updates.
One Star

Re: tMDMOutput cannot insert records when i check 'Is Update'

Does the non Primary Key fields get updated at entity level without using any join (tXMLmap)/comparison and just by ticking the IsUpdate option in tMDMOutput component?

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

Have you checked out Talend’s 2019 Summer release yet?

Find out about Talend's 2019 Summer release

Blog

Talend Summer 2019 – What’s New?

Talend continues to revolutionize how businesses leverage speed and manage scale

Watch Now

6 Ways to Start Utilizing Machine Learning with Amazon We Services and Talend

Look at6 ways to start utilizing Machine Learning with Amazon We Services and Talend

Blog