Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I create a Job which list XML -Files and now I want a unique Filename out of a Value of a Node from the XML.
If I run this Job, the output for the first File ist NULL.xml and the Others are right and the Content of the Files are in the next File not in the File which the Number has.
I use the tJavaRow for to set a Variable and to check is the Variable != null
//own script for order_id output_row.ORDER_ID = input_row.ORDER_ID; if(output_row.ORDER_ID != null){ globalMap.put("name", output_row.ORDER_ID); System.out.printf("Dies ist der Output: " + output_row.ORDER_ID); }else{ globalMap.put("name", "error"); }; //end
I think, if I run the job, the Variabale was set on runtime and is null a the first. How can I solve the Problem?
Thanks for help.
Greetings Chris
Hey TRF,
thanks for the fast Help,
if I use tJavaRow -->tFlowToIterate-->tIterateToFlow-->tAdvancedFileOutputXML it creates only one File and write alle the content of the InputFiles in it.
Has Nobody a solution for me