Guys,
Thanks a lot for your responses.
Michael,
I saw this thread before start this thread, but how I can´t always throw an exception I should not use that tip.
Skip,
You’re right … I set an error message in the EXIT step, but getLastError didn’t get it.
Actually I change the logic of my flow and now it works.
Basically, I gave a label ‘start’ to 1st SEQUENCE, change the REPEAT on-FAILURE to REPEAT on-SUCCESS and into the BRANCH on /header/staus I invoke a EXIT ‘start’. After that I moved the writeToFile right before the REPEAT.
Many, many thanks guys.
Maldonado
#Integration-Server-and-ESB#webMethods#Flow-and-Java-services