Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello, I have been trying to run a dynamic job with giving it a few parameters as follows:
Parameters passed as follows:
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:
That works flawlessly which leads me to the conclusion there is something wrong with parameter passing of (objects?) to Dynamic jobs .
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.