Hi Guys,
Once again large issue to be beginner and I am sure very simple one for wemMethods gurus.
I have created a flow that reads in a flatfile content line by line. Now I need to extract all lines one by one that start with an A and save them in a text file. That text file will be later used as an attachment. I am getting the FlatFile in and parsed correctly (thank’s to Tim Conner and Ram) but now I am having trouble extracting all lines that start with an A via loop.
The flow is contracted as follows:
-SEQ
–SEQ
—SEQ
—>getFile
—>convertToValues
—LOOP$default: LOOP over /A/Attachment
—>writeToFile
Document:
FFSDT
FlatFileSchema
FFS
The document contains simple layout. I need to loop over and save only lines that start with A. How can I loop over only that line? I must be putting in incorrect values in in-array and out-array.
in-array: /A/Attachment
out-array:/A/Attachment
I tried multiple things but nothing seems to work. I know I am making some small mistake that I don’t see.
Any help greatly appreciated!
Thanks,
Sebastian
#webMethods#Integration-Server-and-ESB#Flow-and-Java-services