Hi Henrik (and everyone)
I am processing multiple XML's in a VC Loop, and am using the 'Read Node' task to validate the XML as we occasionaly have entity errors (i.e. '&' in the data that hasn't been escaped). What I wanted to do was move any invalid files into a 'trash' folder so I could report on them later (although for now I am just renaming them) but I can't get my head around what is going on with the FLOW command as it isn't doing what I wanted.
It is Renaming only one file, but I know there are three files with the same problem (contain unescaped '&') so it seems the Rename task isn't being called for all the files.
I have tried READ NODE on individual files, and it certainly flags invalid XML files, so I know that does what I want it to do.
Screenshot 1 shows the Job structure. Screenshot 2 shows the FLOW for the READ NODE task. How can I only execute the 'Rename' task IF the READ NODE task fails?
Am I misunderstanding the purpose of FLOW and the way it works, or can anyone suggest a 'better' way of doing this?
Cheers
Andy
osirisja attached the following image(s):