((Integer)globalMap.get("tHashOutput_12_NB_LINE")) > 0
((Integer)globalMap.get("tSalesforceOutputBulk_1_NB_LINE")) > 0
really not only tSaleForce have problems with empty flow, many components have similar "issue"
I use second way - count records (or check file exists in some cases) + runIf trigger
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Learn how to do cool things with Context Variables
Find out how to migrate from one database to another using the Dynamic schema
Pick up some tips and tricks with Context Variables