Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
You cannot share globalMap between jobs. Context variables can easily be passed to child jobs by checking "Transmit whole context" in tRunJob. But passing values back to a parent job is harder.
Problems with your screenshots are:
1. The row coming out of a tSetGlobalVar is just a duplicate of the row going in to it (if any), not any globalMap variables you might have set in it. You need to use tFixedFlowInput to create a flow of your globalMap variables, which you can then pass to tBufferOutput.
2. To retrieve the values from the buffer in the parent, you should have a row directly from tRunJob. (Don't forget to set the schema.) You then need either tSetGlobalVar or tContextLoad or tJavaRow (as appropriate) to convert that flow back to globalMap or context variables in the parent.
Converting globalMap into context variables (or vice versa) has to be done manually - tJava is fine.
Hi
It is a compilation error, have you defined the schema of tJavaRow?
you should use tJavaRow replace tJava if you want to access the columns.
Best regards
Shong
Hi
It is a compilation error,
Best regards
Shong
Hi
It is a compilation error, have you defined the schema of tJavaRow?
you should use tJavaRow replace tJava if you want to access the columns.
Best regards
Shong
Hi berufsschule
I can't reproduce the problem, not sure why it throws NPE here. Can you upload a screenshot of job?
Best regards
Shong
you should use tJavaRow replace tJava if you want to access the columns. I suggest you to use 'onsubjobook' in the job, it makes the job more readable, for example:
tMysqlConnection
|
onsubjobok
|
tFileInputDelimited--main--tContextLoad
|
onsubjobok
|
next processing
Best regards
Shong