Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

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.
Labels (2)
4 Replies
Anonymous
Not applicable
Author

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".
Anonymous
Not applicable
Author

So how can i implement the update or create ? Do i have to use the tMDMOutput twice ?
Anonymous
Not applicable
Author

True, you should change the logic of your job to separate creations from updates.
Anonymous
Not applicable
Author

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?