Six Stars

Breaking from tFlowToIterrate

Hi all.

I wonder if any of you has some tricks to exit from tFlowToIterrate iteration like a break in a for loop.

1 ACCEPTED SOLUTION

Accepted Solutions
Ten Stars

Re: Breaking from tFlowToIterrate

you are true but it's the only (quick) way you have to structure job and sub job for it.
an other way is to skip all next iteration.
add a global var and test it before each iteration.

Francois Denis

Don't forget to tag when it's "solved"!

5 REPLIES
Ten Stars

Re: Breaking from tFlowToIterrate

tDie !

 

Francois Denis

Don't forget to tag when it's "solved"!

Six Stars

Re: Breaking from tFlowToIterrate

you can process outflow as:

 

tFlowToIterate-->tjava(*handle break condition)-->tDie

Regards
Aashish
Six Stars

Re: Breaking from tFlowToIterrate

Correct me if I'm wrong but doesn't tDie stop the processing of current job? What I want is exiting only the iteration 

Ten Stars

Re: Breaking from tFlowToIterrate

you are true but it's the only (quick) way you have to structure job and sub job for it.
an other way is to skip all next iteration.
add a global var and test it before each iteration.

Francois Denis

Don't forget to tag when it's "solved"!

Six Stars

Re: Breaking from tFlowToIterrate

I will accept this as a solution but before, I will profit to ask what if I want this time to exit a flow, I mean if a line match a given condition, don't process the remaining lines.