[resolved] How to reset Numeric.sequence at specific number?

Nine Stars

[resolved] How to reset Numeric.sequence at specific number?

In a tMap, I have a variable which has Numeric.sequence("s1",1,1).
How can I get s1 to automatically reset to 1 after every 25K rows of data inputted?
I tried making a second variable with:
(Var.var1==25000)?Numeric.resetSequence("s1",0)+"":null;
I get the error "The operator + is undefined for the argument type(s) void, String"
Any ideas how to just do the reset sequence instead of having to return a value?

Accepted Solutions
Twelve Stars

Re: [resolved] How to reset Numeric.sequence at specific number?

You can use tJavaFlex component to reset sequence 
-----------

All Replies
Twelve Stars

Re: [resolved] How to reset Numeric.sequence at specific number?

You can use tJavaFlex component to reset sequence 
-----------
Nine Stars

Re: [resolved] How to reset Numeric.sequence at specific number?

Awesome, thank you very much!