Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
RvanRaaij
Contributor
Contributor

Paremeter passing to a Dynamic job does not function properly

Hello, I have been trying to run a dynamic job with giving it a few parameters as follows:

0695b00000QDS9RAAX.png

Parameters passed as follows:

0695b00000QDSDrAAP.png

This gives an error the parentmap/globalmap does not get passed properly. At my wits end I tried it with a 'normal' job before it:

0695b00000QDSFnAAP.png

That works flawlessly which leads me to the conclusion there is something wrong with parameter passing of (objects?) to Dynamic jobs .

Labels (2)
1 Reply
David_Beaty
Specialist
Specialist

I think when you invoke a job dynamically, it actually instantiates it as a separate Java JVM, and forms the parameters passed as part of the command line. Where I’ve used the concept previously, I’ve output the context values I need to a temporary file and passed that as the only parameter. The dynamic job then reads the file content into context.