You are not logged in.
Announcement
Unanswered posts
|
Pages: 1
Hi All
In the attached emage, i am executing jobs within a job. Is there any way where i can end the execution based on a criteria or alter the path of execution based on a criteria?
Thanks
Ravi
Offline
Hi
What's the data action on tOracleOutput? The global variables like ((Integer)globalMap.get("tOracleOutput_1_NB_LINE_INSERTED")) which counts the number of inserted lines. You can fires other sub jobs depends on its values. For exmaple:
...retrieve studio to data process...
|
onsujobok
|
tOracleRow
|
onsubjobok
|
tJava--runIf--tRunJob
on tJava:
if(((Integer)globalMap.get("tOracleOutput_1_NB_LINE_INSERTED"))>1){
globalMap.put("isContinue",true);
}else{
globalMap.put("isContinue",false);
}
set the condition of runIf:
(Boolean)globalMap.get("isContinue")
Best regards
Shong
Offline
Hi Shong,
I am still not an advance user of Talend. Would there be a webcast of this or some thing in more detail that i could go through?
Advance Thanks for this Shong.
Thanks
Ravi
Offline
Hi Shong
Finally I have understood what you were saying. Thanks for that as it works fine
Thanks,
Ravi
Offline
Pages: 1