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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
dipanjan93
Contributor
Contributor

Is there a way to run status from tDBRow Component?

I am trying to get run status of tDBRow component using its global variable - (String)globalMap.get("tDBRow_2_ERROR_MESSAGE"). But this is returning no value while printing it using System.out.println in tJava. 

 

Is there way/better way to get the status from tDBRow component?

Labels (3)
3 Replies
Anonymous
Not applicable

Hi
Have you checked the 'Die on error' option? If enabled, the component will throws the error once it has error during the execution, otherwise, the status of component is always successful.

Regards
Shong
dipanjan93
Contributor
Contributor
Author

Hi @shong - Fortunately this should have printed success status even if the "Die on Error" option is unchecked!

Anonymous
Not applicable

Hi
The job only returns the execution status of the whole job, not for each component, if you want to output the status of special components, link the component to a tJava or tWarn using onComponentOK for successful or onComponentError for failed, explicitly print or output the status of component.

Regards
Shong