Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I'm not able to find the answer in the documentation so i was hoping someone might be able to help me understand something.
I have a job which passes data into a child job through an iteration, the child job then passes back data which collects into a tHashOutput to be loaded in another subjob which contains the tHashInput.
I was getting errors when the first part of the process didn't extract any data (a common scenario in this routine) and so i linked the subjob with the tHashInput with a RunIF connection (using a ((Integer)globalMap.get("'my_connection'_NB_LINE")) >0 clause).
However, on doing this i started getting null pointer exceptions on the tHashOutput, so i'm not sure this is a viable way of performing this logic?
Basically, I want to know if there is a way of executing a subjob ONLY IF there is data populated in the hashInput, and i want to execute this subjob after all iterations in the first subjob have completed.
A simple mock up of my routine:
Subjob1)
FixedFlowInput --> FlowToIterate --> ChildJob --> tHashOutput
Subjob2)
tHashInput --> Load to a database.
Please help! Thanks