Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello, I'm working on a projet with parent JOB and CHILD JOB.
I need to implement a RETRY pattern in CHILD JOB and a PARALLELISM.
As the picture:
if(row2.errorCode==0){
context.status=0;
}else if(row2.errorCode==1){
context.status=1;
Thread.sleep(6000);
}else{
context.status=0;
}
I'm not sure that this design approch is correct... mix a retry pattern with a parallelim using context variable.
In my test it seems that without parallelism it works fine, but with a parallelism the result is random
Hello,
I spend some time to reproduce our projet. (as attached)
Atm I'm sure that the paradigm RETRY and PARALLELISM didn't works with my code design.
I'll going to manage the RETRY system in the child Job and delete the tLoop component.