Hello,
i am using a variable inside a tMap like this ---> Numeric.sequence("s1",1,1) * 10
so for each record processed i get 10, 20 ,30 and so on
the problem is that i need to reset this sequence each time i launch the job...
when launching the job from inside talend, the sequence is correctly resetted but if i export my job as
webservice, the sequence never resets.
is it possible to resolve this problem? Thanks in advance.
thanks a lot, it worked!
i created a new Routine, i copied Numeric routine code and i added this method:
public static void resetSequence(String seqName){
seq_Hash.put(seqName, 0);
}
Then i call the method from a tava component. Thanks again for your answer
When I try to install this routine, the "seq_Hash.put(seqName, 0);" part get's red-underlined. seq_Hash in particullar.. Any ideas why my TIS 3.2 doesn't have that Java class? Is there any particullar class I need to import on the top of the routine package?? Help would be much appreciated.