Hello,
How did you develop your interface? Did you make a flow service from the core webMethods services? Did you use PSUtilities? Or is this a custom java service?
For a flow service, after you get the first list of file names, you can make another list by making a loop step wrapping a branch. In the branch, you can use regular expressions to pick what to keep. So:
[MAP] (SET) @StringList -> outlist
[LOOP] inlist
-[BRANCH]inlist
–[SEQ]/[FIN_01[0-9]+_I]/
—[appendtoStringList] inlist -> outlist
This is match “+” one or more of [0-9] any number. Then you can do your regular processing on outlist. Remeber to include the trailing “/” so the SEQ eval as regex.
Good day.
Yemi Bedu
#Integration-Server-and-ESB#webMethods#Flow-and-Java-services