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

Talend job (tSystem component) not failing even Powershell script failed

Hi,

 

I m executing powershell script from tSystem component. 

Using Powershell script , i am connecting to Azure and doing some operation.

 

Even if there is any failure in Powershell script (eg: due to Azure host name is wrong or any azure command failed) , talend job or tSystem component is not failing, its showing job is succeeded.

 

Could some throw some idea here on how can i fail the Talend job / tSystem component if there is any failure in Powershell script.

 

Thanks.

 

Labels (3)
1 Solution

Accepted Solutions
TRF
Champion II
Champion II

Did you try to catch the script output into a global variable?

View solution in original post

2 Replies
TRF
Champion II
Champion II

Did you try to catch the script output into a global variable?
Anonymous
Not applicable
Author

Thanks TRF.

 

Its working as expected.

Doing like below:

Catch the output into Global variable and using tDie component if there are any Error Messages.