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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Use context variable as input parameter for tMSSqlSP

I have set a context variable in my main job and want to use it as a input parameter in my tMSSqlSP componenent. However it is not possible to use it there. How to do this?
0683p000009MEfE.jpg 0683p000009MENq.jpg 0683p000009ME9M.jpg 0683p000009MEfJ.jpg
Labels (2)
4 Replies
alevy
Specialist
Specialist

Your job design looks fine to me. What problem are you having exactly?
Anonymous
Not applicable
Author

Hi limsuser,
I have seen that you used tRunjob. Is there any child job in your job design? The tMSSqlSP is the child job in your last screenshot? Do you want to Pass a value from a parent Job to a child Job?
Best regards
Sabrina
Anonymous
Not applicable
Author

The problem is not that the context variables being available in my subjob, but how to pass them as input parameter to my stored procedure?
In the screenshot you can see the context variables are available, but i can't access them in my input parameter for my sp. They are NULL then
0683p000009MEfO.jpg 0683p000009MDka.jpg 0683p000009MEfT.jpg 0683p000009MEfY.jpg 0683p000009MEaZ.jpg
alevy
Specialist
Specialist

tMSSqlSP uses values from the incoming row as the parameters, not context variables. You should use tFixedFlowInput to put your context variables into the row for tMSSqlSP.