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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to hide warning 'Null value will be used for context parameter KEY : For input string:"context.KEY"'


Hi Team,

I have created a job which use context variables that are assigned a value during run time from tjavarow component.
The context variables which I have used are TICKET_KEY (String)and TICKET_INCREMENT_KEY(int).
The expressions used in tjavarow for these context variables are:

context.TICKET_KEY=input_row.TICKET_KEY;
context.TICKET_INCREMENT_KEY=Integer.valueOf((context.TICKET_KEY).replaceAll("W",""))+1;


while running the job, I am getting a warning in the output console as
'Null value will be used for context parameter TICKET_INCREMENT_KEY: For input string:"context.TICKET_INCREMENT_KEY"'
even though I am getting the correct output from the job.
Now I want to hide this warning from the output console.
Can you please help to hide warnings? I tried using implicit context load and tcontextload component, but couldnt hide this context warning.

Labels (2)
1 Solution

Accepted Solutions
fdenis
Master
Master

You my try to set a default value to you context variable.

View solution in original post

2 Replies
fdenis
Master
Master

You my try to set a default value to you context variable.
Anonymous
Not applicable
Author

Hi fdenis,

 

 


fdenis wrote:
You my try to set a default value to you context variable.

Thank you. It worked for me.