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

Subjob throws error but still triggers OnSubJobOk

I am trying to purposefully trigger the error handling I set up. I first attempted this by trying to pull in values that are greater than the length specified in the schema. The job throws the error "Data truncation: Data too long for column 'Title' at row 1" as expected but then the job triggers the OnSubjobOk path instead of OnSubjobError. 

 

Why is this happening? How can I intentionally trigger the OnSubjobError functions?

Labels (3)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Just had to enable "Die on Error" on all DBOutput components in the subjob. Subjob is now failing as expected. 

View solution in original post

1 Reply
Anonymous
Not applicable
Author

Just had to enable "Die on Error" on all DBOutput components in the subjob. Subjob is now failing as expected.