I have a configuration zip file which contains subfolder, one for each environment + one common folder for configurations which apply to all envs.
When running the process, i want to find from the extracted zip the files from matching environment folder + the common stuff
Using Find files or folders action:
Included File types: Files_And_Folders
Include pattern <Environment Name>/*.yaml;common/*.yaml
But that fails to find any files. If i change the Include pattern to simply *.yaml, then it does find every file but for all folders .. but thats not what i want to..
i have tried with following Include pattern variations.. tested with hardcoded environment name.. no luck
How to use this correctly?
How about adding the environment name to the path? If not that then you'll probably need to put all of found files into either a file or array and then search that output result and only get the subset you want based on the environment name filter. I am pretty sure that the pattern is only taking into account the filename, not path or directory names.
ok... was just thinking i misunderstood how to use it, based on description in tooltip: "The wildcard or regular expression that defines which files or folders are included. Can be either wildcard or regular expression, according to the chosen pattern type. You can place several patterns using the ';' delimiter - files or folders matching at least one of the patterns will be included."