I have an Analytic App in which I'm trying to read a directory to populate a drop down (picture attached). The idea is for the user to pick from a drop down among the last 10 files which have been touched in a specific directory. The problem seems to be that the list doesn't get refreshed unless I run it as a workflow. If I just run it as an analytic app the list seems static no matter what new files are added to the directory. This leads me to believe that the questions are asked of the user *before* any part of the workflow is run even if the user interface component is downstream of some of the tools. Is this correct?
If so, how else might I approach this situation? The goal is to read the list of files available and feed that into the users choice at least somewhat dynamically.
Your collective thoughts would be appreciated.
Thanks,
-Hayes