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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] tJava null result for globalMap.get("tELTOracleMap_1_QUERY")

I get a null result  for ((String) globalMap.get("tELTOracleMap_1_QUERY")) in tJava Component. I tried enabling debug mode by checking advanced setting of tELTOracleMap . However, I did not find any such option.
Below is the Job Screen Shot That I am using. 
Please guide.
Labels (3)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Yes.
Thankyou  xdshi.
Issue is resolved. Key for globalMap should be  tELTOracleMap_1QUERYtable1.

View solution in original post

6 Replies
Anonymous
Not applicable
Author

Hi,

Thank you for your post! We can't see the screenshot on our side. Could you attach it on the forum again, please? That would be great.

Best regards
Sabrina
Anonymous
Not applicable
Author

Please refer to the screen shot.
I get a null result  for ((String) globalMap.get("tELTOracleMap_1_QUERY")) in tJava Component. I tried enabling debug mode by checking advanced setting of tELTOracleMap . However, I did not find any such option.
Below is the Job Screen Shot That I am using. 
Please guide.
0683p000009MByP.png
Anonymous
Not applicable
Author

Hi,
Actually, we don't find this global variable ((String) globalMap.get("tELTOracleMap_1_QUERY")) defined in tELTOracleMap. Could you please give us more information about job requirment?
Best regards
Sabrina
Anonymous
Not applicable
Author

Hello,
As per the reply for this post .
I tried using the variable.

Requirement: I am trying to add two tables on some key. The sql will be generated in result of this joins. This SQL can be viewed by clicking tELTOracleMap and selecting tab "Generated SQL Query". I want to read this using program so I am using globalMap with key as  tELTOracleMap_1_QUERY The same solution was suggested in above liked post, However, I get null value instead of query .
Anonymous
Not applicable
Author

Hi mnavedqureshi,
Is your issue resolved? Could you please share your solution with us?
Best regards
Sabrina
Anonymous
Not applicable
Author

Yes.
Thankyou  xdshi.
Issue is resolved. Key for globalMap should be  tELTOracleMap_1QUERYtable1.