Im having this simple problem that im not being able to solve,
Im receiving some .txt files from a jobflow to be procesed in a graph the problem is that i read the file use a reformatter fix the errors but then i need to replace the file i just fixed with the same name, but i dont have the name of the path:
and if i use ${INPUTFILE} in the data writer it erase all the data in my .txt files. if i replace ${INPUTFILE} with something like this ${DATAIN_DIR}/outputtest.txt and append the data it shows all the data correctly.
Jobflow:
Capture1.PNG
Graph:
Capture.PNG
Hi rickymartin06
From the screenshot you sent me and the issue you described, I would recommend putting the UniversalDataWriter in a higher phase, thus resolving the issue. With the UniversalDataWriter being in the phase the file is being prepared as soon as the process starts to be written.
By higher phase you mean putting the graph in a jobflow and then add an Execute Graph with a universal data writer in it?
Can you explain a bit how to accomplish that, Thanks.
Ricardo
Hi rickymartin06,
Each graph can be divided into several phases by setting the phase numbers on the components, which is located on the upper right corner. At the moment all your components are in phase 0, please change the UniversalDataWriter to phase 1. You can accomplish in one of two ways, by selecting the component in question and typing 1 or by right-clicking on the component Edit->Common->Phase
Ohh the Phases, i just did that and… worked like a charm!! How could i forgot about that… Gracias Vazquez!