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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

writing one row to multiple targets

how can I manage a case of writing one DB row to multiple targets using tmap ,and in case we have an exception in one of the targets, make a rollback to the others?

 

Thanks !

Labels (1)
4 Replies
vapukov
Master II
Master II

You can use existing connection for all output components and onSubJobOk - tCommit, onSubJobError - tRollback

 

logic will be more complicated, but principles same

 

Anonymous
Not applicable
Author

but this is for the whole input rows. what if I want to do this on only one row ?I don't want all rows to rollback , just the problematic one.
vapukov
Master II
Master II


@chenkosto wrote:
but this is for the whole input rows. what if I want to do this on only one row ?I don't want all rows to rollback , just the problematic one.

🙂 life is hard

 

seriously - check before insert for minimise exception, log errors, but never possible to do all what You want

of course You can process input row by row (iterate) ... but it take ages for finish ... or speed or ...

Anonymous
Not applicable
Author

ok, how I do it with iterate?
can you send me a job description for example?