Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
karthikj18
Contributor III
Contributor III

ts3get error message global variable returns null while file not found exception

Hi

tS3Get component's error message global variable ((String)globalMap.get("tS3Get_1_ERROR_MESSAGE")) is returning null while component thrown exception for s3 file does not exists. Also OnComponentError is not triggering while throwing exception. Note I have disable "Die on error" option.

Any help?

Labels (4)
3 Replies
Anonymous
Not applicable

Hello,

Could you please post your job design screenshot on community which will be helpful for us to address your issue?

Best regards

Sabrina

karthikj18
Contributor III
Contributor III
Author

Hi

When I enable "Die on error" option it is redirecting towards "on component error" trigger, but job fails.

Any way to trigger "OnComponentError" without failing job?

Anonymous
Not applicable

Hi
When 'Die on error' option is checked, the component will throw out the exception and trigger the subjob linked by 'on component error'. If you want the job continue to execute even tS3 or other components have error, you need to design the job like this.
main job:
tRunJob
|onsubjobok
continue to execute subjob
on tRunJob, uncheck the 'die on error' option.

child job
tS3Get
|onComponnetError
do some something.

on tS3Get: check the 'die on error' option.

Hope it helps!

Regards
Shong