One Star

Write values from globalMap to a file

Hi,
I'm creating a flow which some tables are being incremental copied from one db to another. The high watermark is calculated and stored in globalMap. Which component should I use to store this value into a file? I've tried tFileOutputDelimited, but I cant see how to connect it with the globalMap.
Thanks.
2 REPLIES
One Star

Re: Write values from globalMap to a file

Hi
Could you show us more details? Or a screenshot of your job?
What do you mean "The high watermark is calculated and stored in globalMap"?
Regards,
Pedro
One Star

Re: Write values from globalMap to a file

Hi,
I found the answer, the relevant flow is: tJavaFlex1-----------row1-------->tFileOutputDelimited1.
In the javaFlex I put row1.watermark = (String)globalMap.get("watermark"); and tFileOutputDelimited1 write it to the file.