Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Note: You may notice some temporary visual or styling issues in the Community. Our vendor is actively investigating.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[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
Labels (2)
5 Replies
Anonymous
Not applicable
Author

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

shong
Anonymous
Not applicable
Author

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
Anonymous
Not applicable
Author

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 ?
Anonymous
Not applicable
Author

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....
Anonymous
Not applicable
Author

Thank you
msomso