tRunJob : retrieve context variable value redefined inside a subjob
Hi,
I tried the following :
- starting on a master job, I send a context variable value to a subjob using the tRunJob module ;
- then inside the subjob I redefine the value of this context variable ;
- and then back in the master job I would like to use the redefined value that was set inside the subjob.
Unfortunately it looks like it is not possible, since context variables cannot be retrieved from a subjob.
Am I right ?
Thanks
Hello, I'm sorry to say yes you're right. If you want to share variables between jobs, you have to write them to tmp file or tmp databases. Regards, Michaël
aviator,
I don't understand what you mean.
You can pass parameters from grand father to son jobs via the father without any difficulties.
Automatically and manually...
You just need to share the same context between the 3 jobs.
what i mean is : context parameters whose values have been redefined in a tJava component, can they be passed to sons, grandsons and so on ?
because when i try this i get errors ............ correct me .. am i missing something
First basic answer :
tJava component should never modify "internal" variable.
Context values can be modified using tContextLoad and this is the only correct behavior that I would ever recommend.
What would happend to your job if we modify those internal variables ?
What is your TOS version ?
I think that it's probably related to 5393
HTH,