Hi @deanishe, thanks for responding! Here's the goal/desired behavior: I have multiple environment variables that are set to directory paths (e.g., path1=/users, path2=/users/desktop). I want to create a File Filter that restricts the search scope to path1 and path2 (i.e., restricts the scope dynamically based on environment variables). What's the best way to accomplish this?
My current solution involves 4 steps:
1. keyword input with query (e.g., search xyz)
2. run script to dynamically generate the scopes
3. the output of step 2 is passed to a File Filter
4. process the selected file with another script
The problem with this 4-step solution is that since I'm using a keyword input with search query (step 1), the no matching results will be shown from the File Filter (step 3) until I press enter. In contrast, if I were to use create a workflow that includes only steps 3 and 4 (and I manually specify the scope in the File Filter), whenever I invoke the File Filter with a keyword and query (e.g., search xyz), matching results are shown immediately, without having to first press enter. So I'm wondering if I can make File Filter restrict the scope dynamically "behind the scenes" so I don't have to use a keyword input with query or another file filter (as with the Dynamic File Search example) to first restrict the scope before listing matching files?
Hope that's clear. Thanks!