[TOS 3.0] tFilterRow global variable NB_LINE_OK NB_LINE NB_LINE_REJECT

One Star

[TOS 3.0] tFilterRow global variable NB_LINE_OK NB_LINE NB_LINE_REJECT

Hi
I'd like to print the value of NB_LINE, NB_LINE_OK for tFilterRow component.
The value of globalMap.get("tFilterRow_1_NB_LINE") is null ...
System.out.println("*** " + globalMap.get("tFilterRow_1_NB_LINE") +" ***");

What is wrong, is it a known problem/bug ?
Regards
msomso
Community Manager

Re: [TOS 3.0] tFilterRow global variable NB_LINE_OK NB_LINE NB_LINE_REJECT

Hello
I have checked that it works fine on TOS3.0.0
Please see my screenshots.
Best regards

shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: [TOS 3.0] tFilterRow global variable NB_LINE_OK NB_LINE NB_LINE_REJECT

Hi,
As I've had a problem with this variables, I've tried to print it with tJavaRow (cf. TEST_T_JOURNAUX job).
In this job, an error occurs:
the printed value of tFilter_3.NB_LINE_OK is null ("*** null ***" on tFilterRow_globals screenshot)

However, in the final job T_JOURNAUX, the same variables work well.
I'm confused, but I don't understand.


Best regards
msomso
P.S.
The export of T_TEST_JOURNAUX and T_JOURNAUX is sended to jour mail box
One Star

Re: [TOS 3.0] tFilterRow global variable NB_LINE_OK NB_LINE NB_LINE_REJECT

Hi,
As I've had a problem with this variables, I've tried to print it with tJavaRow (cf. TEST_T_JOURNAUX job).
In this job, an error occurs:
the printed value of tFilter_3.NB_LINE_OK is null ("*** null ***" on tFilterRow_globals screenshot)

However, in the final job T_JOURNAUX, the same variable works well.
I'm confused, but I don't understand.



Best regards
msomso
P.S.
Shong, the export of T_TEST_JOURNAUX and T_JOURNAUX is sended to jour mail box.
As you can see in the export file, the value of tFilterRow_3_NB_LINE_OK is read in tJavaRow
before the put done in tFilterRow_3 component .
Why does it happen ?
Employee

Re: [TOS 3.0] tFilterRow global variable NB_LINE_OK NB_LINE NB_LINE_REJECT

he variable is available AFTER component excution, not in ROW mode....
You can see it if you print it after a onComponentOK or onSubjobOK component....
One Star

Re: [TOS 3.0] tFilterRow global variable NB_LINE_OK NB_LINE NB_LINE_REJECT

Thank you
msomso