I need to add a conditional requirement to my job to end the job if no new records from a oracle component have been inserted into a record. If new records have been added then I want to finish the rest of the job (run a stored procedure). I think i can use 2 conditional run if components to accomplish this but I am running into issues with the syntax
i am going from a oracle_bulk component>>tjava>> run if true(tjava) or run if false(tjava) to try and accomplish this
i have the following code in the first java component which runs and returns true if the record count from the oracle component is greater than one. However when I add the true/false i can a sytanx error. What am I missing in the true and false tjava components?
System.out.println("hasRows: " + globalMap.get("hasRows"));
Solved! Go to Solution.
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Watch the recorded webinar!
Part 2 of a series on Context Variables
Learn how to do cool things with Context Variables
Find out how to migrate from one database to another using the Dynamic schema