In webMethods 6.1, we have developed an interface that polls for specific files and processes each according to the filename. However, now one of our partners (the source) is creating unwanted files and we need to narrow the search. Is there a way of using a wildcard in the label for the filename eg FIN_01?I instead of writing a step for each variation eg. FIN_011_I, FIN_012_I_, FIN_013_I_ etc? It is just the one digit…
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:
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.