This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
The workflow that I created has multiple input files in it, but one file is optional depending on the period that it will be ran. I made the workflow into an app and added the file browse and action (unselected the "Required" box) interface tools to be connected with the input file (see screenshots below).
During test run, I found that even though the file were not selected on the analytic app questions window, input file was still being read from the workflow where I had an old file from the previous period (see below for input file data file path). Is there any way to not include the old data in by simply not selecting a file for the current period when prompted? Let me know what I'm doing wrong here.
You could add the optional input into a tool container and use a check box to enable/disable it. This way the use will only be prompted for the input if used and it will be disabled otherwise.
IF [#1] = 'TRUE' THEN 'FALSE' ELSE 'TRUE' ENDIF
Make sure you select Collapse Group When Deselected option for the Checkbox and nest the File Browse within the Checkbox element via the Interface tools. This way users will only see the File Browse when the check box is selected.