Hi everyone,
Attached is a flow, which I am using to test this setting, where the user is prompted to choose between input 1 and 2 - i.e. whether the data was updated or not. Then the app automatically should close the one tool container based on the decision. I got this example from the community and configured it for a flow in which I need this setting, however, I am not getting an error that says that the OutputPath is missing. I am not sure how to fix this error. Did see that the dependencies gives the correct destination and the file path is in the local folder, which I think is fine, since that is where I keep the flow. I pull the data from Alteryx shared for one input tool and the outputs should write back to Alteryx shared. When I run the flow as an analytical app, it does not close the one container automatically and it also gives me the error as mentioned. Also, when I upload the app to the server to be run from there, I will need to be sure the paths are correct and not referring to the local folder.
The flow and file is attached.
Can someone please help me understand where the mistake is and how to fix this?
Thank you for helping!
Rouche
The output path error is because you are telling it to take the output file name from a field but the field doesnt exist in your text input tool or manual excel file import.
You need to either create a field for the file name to be taken from, or turn that off and set the final file name in the output data tool. ( it only had the ID and Name)
Since they are being saved as xlsx files, its also going to complain that a sheet name was not specified, so that will need to be addressed as well.
As far as the containers, your condition is ok, but the actions are only telling it to enable. You have to tell it to disable the other container, it wont just do it on its own.
One way around that is to disable both containers and save the app with them disabled. Then your condition and actions will enable the container you want and the other will already be disabled.
I updated the app to use relative paths to save the files out and it seems to test fine for me. Updated version attached. You would just need to give it your own final destination paths\names