Retain loop variable value in a transformer?
Posted: Tue Jun 07, 2011 5:21 pm
Hi,
I have a question, I need to store the last value of a loop variable so that I can use it in the output link ( or in the new loop) in a column for the other rows. The output link has a constraint which filter the row for which the loop variable is calculated.
Loop value is reset to its initial value each for each row and I can not save it to access for the next row. can I store it at the last iteration for the first row so that I can access it processing for the next row?
Thanks in advance
I have a question, I need to store the last value of a loop variable so that I can use it in the output link ( or in the new loop) in a column for the other rows. The output link has a constraint which filter the row for which the loop variable is calculated.
Loop value is reset to its initial value each for each row and I can not save it to access for the next row. can I store it at the last iteration for the first row so that I can access it processing for the next row?
Thanks in advance