Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
int nb=0;
nb++;
globalMap.put("nb_line",nb);//put the total nb of lines to a global vriable for use later when needed.
if(nb==0){
globalMap.put("hasData",false);
}else {
globalMap.put("hasData",true);
}
Thanks Shong! That looks like what I need.
Added that behavior into my solution & the job ends as it should.
Bryan
great solution. thanks