Press Ctrl+S to save your Job.
In the Run tab, click Run to execute the Job.
In this case, no errors occur, so the Job triggers the second tJava component only.
Double-click the tHMap component to open the Map
Right-click the outputKey element and click
Go to Structure Element.
Change the tHMap_1_output
structure that opens from Read Only to
Editable and then change the Data Type for
Integer (32). This means that this element
can only be an
Integer, and since this does not
match the input, an error will occur.
In the Run tab, click Run to execute the Job again.
In this case, the Job still triggers the second tJava component even though there is an error, because the
threshold above which an exception should be thrown (thus enabling the
downstream components to detect the error) is set as
Fatal. However, the third tJava
component is also triggered since there is an error in the execution of the
Select the tHMap component
and click , then change the value of the Exception
Threshold drop-down list to
This causes an exception to be thrown when the map has a severity of
Error or higher.
In the Run tab, click Run to execute the Job for a third time.
In this case, the Job detects the error and triggers the first tJava component (OnSubjobError).