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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Check for null context variable

In a "Run if" I'm trying to check and see if a context variable is null,
Either I've found a bug or I'm going about it the wrong way.
The subjob associated with the if clause never runs.
Yet, in a tMsgBox, I display the value of the context variable and it shows up as null.

If I put 1==1 in the if clause - the subjob runs - so, I know that it's evaluating the Conditional statement.
Any suggestions/ideas?
Labels (2)
1 Reply
Anonymous
Not applicable
Author

Hello
The variable is not null, its value is 'null' and its length is 4, you can set the condition as context.variable.equals("null")
Best regards

shong