Passing context variables from subjob to job parent always null value
Hello all,
I've read all entries in forum related with those topics, but I'm not able to solve this problem.
This are other options that I've tried:
- use of tSetGlobalVar
- use of tContextDump, SynchronizeContext()
- use for set/retrieve values of context vars with context.var_name=value , globalMap.put("var_name",value); and globalMap.get("var_name")
I also defined a context variables, and in every job, I've used them.
This is the pics from my jobs and the result of execution.
Starting job testParent at 10:46 03/02/2011.
connecting to socket on port 3419
connected
ON TEST: context.entidad_id_remota= srUsS8
srUsS8|dyPSBb
28PAvp|AuC6PN
DIzm6c|rO6RDs
qhr8ZT|rqxPtg
ON TEST PARENT: globalMap.get('entidad_id_remota')= null
disconnected
Job testParent ended at 10:46 03/02/2011.
Hi kzone,
I've done it as you say, but the same result.
Furthermore, the sequence of execution isn't good; first executes the tJava_1 with null value in the context var.
Thanks anyway.