Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I would like to keep in memory (for an UPDATE in a table with the statistics of a file) some data of an output (they are circled below), but I don't know how to proceed from the following components:
Do you have an idea ? Thank you.
Hello,
we can get the row number of a component by the below code
globalMap.get("COMPONENTNAME_NB_LINE")
so to achieve what you want, you can design the job like
context.sf_line_count= (Integer)(globalMap.get("tSalesforceInput_1_NB_LINE"));
You can setup multiple context variables and setup the values of them in tJava component as the below
Hello,
we can get the row number of a component by the below code
globalMap.get("COMPONENTNAME_NB_LINE")
so to achieve what you want, you can design the job like
context.sf_line_count= (Integer)(globalMap.get("tSalesforceInput_1_NB_LINE"));
You can setup multiple context variables and setup the values of them in tJava component as the below
Hello @Aiming Chen,
I didn't know that the global variable NB_LINE can be applied on all components because it doesn't appear below :
Thank you for this valuable information, it works very well ! Do you know where I can find other global variables of this type? If there is a list somewhere.
Hello,
These are referenced within the documentation in connection to components, but there is no complete list of every variable available. This is largely due to the fact that they largely depend upon the job that you have built. An easy way of investigating these for a job is to....
Hope it helps.
Best regards
Sabrina