We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
fireworks
SOLVED

Radio button - prompt user to select Input File

Mariamfatimamirza
7 - Meteor

Hi everyone, I am working on a workflow, where I would like to give the user an option to select either txt file or xlsx file depending upon their use case. I am using radio button to allow them to select which format they would like to proceed with, and then allow them to select their input file and run the workflow. However, this just doesn't seem to work, and I am not able to see any output. Please see the screenshot attached. Can someone please share some insights on this?

 

I am attaching the workflow and also attaching the sample excel and text files.

17 REPLIES 17
gautiergodard
13 - Pulsar

@Mariamfatimamirza Can you check your user settings and ensure the box underlined in red is checked off in your canvas?

gautiergodard_0-1667569176564.png

 

DataNath
17 - Castor
17 - Castor

Hey @Mariamfatimamirza, the reason you can't see anything is because you're not actually running the workflow.

 

When you hit the magic wand icon, this opens up the workflow as the app and runs independently - it doesn't actually run the flow on the canvas behind it. If you want to see the results of just running the workflow that you're using to set up the app, you just need to hit the blue 'Run' button as usual.

 

DataNath_0-1667569995165.pngDataNath_1-1667570008975.pngDataNath_2-1667570015181.png

Mariamfatimamirza
7 - Meteor

@gautiergodard- yes, I have that option checked.

 

@DataNath- I am confused because I can view data on my other workflows when I run them as app via magic wand. This one is the only workflow where I am unable to view data in results section on canvas :( Also, if I simply "Run" it, then it will give me data from both files (because of union) causing duplication.

DataNath
17 - Castor
17 - Castor

@Mariamfatimamirza I may be a little confused by what you're expecting sorry.

 

If you run the app via the magic wand, this will run the app itself and the outputs you'll be able to see are whatever you've ticked in the Interface Designer (the Browse tools in your case that we set up yesterday). However, running the app via the magic wand won't cause the workflow on the canvas in the background to run - this workflow is used to build the app and so will run everything; your user selections i.e. which radio buttons are pressed and which file is fed in etc will only come into action when this is ran as an actual app, hence why your workflow when you run it normally currently just runs and shows everything from the union.

Mariamfatimamirza
7 - Meteor

@DataNath- My apologies, I wasn't clear earlier. If you look at the below screenshot, this is an example from another workflow (analytical app). I ran it as an app, and  when I click on 'select' tool (hightlighted below), I can see data in the results section on the canvas. However, I am unable to do so in my workflow with radio buttons (the workflow that you all helped me with here in this thread).

 

Mariamfatimamirza_0-1667575308776.png

 

DataNath
17 - Castor
17 - Castor

@Mariamfatimamirza are you sure you didn't just run this normally (i.e. just hit 'Run' on the workflow itself) before/after running as an app? I've just opened up and double checked as I didn't think this was a feature and when running my apps, the underlying workflow on the canvas does not run unless I press the usual 'Run' button and so I get the same as what you're seeing in your radio button workflow (no data available).

Mariamfatimamirza
7 - Meteor

@DataNath- Yes, I am a 100% sure that didn't run it normally. I opened the workflow, and ran it by clicking the magic wand. But anyway, this thread has been extremely helpful. Thank you for answering my questions so patiently :)

saiirangam
8 - Asteroid

@Mariamfatimamirza 

 

Hi , whenever you use the wand to run the workflow as analytical application, we cannot see the option in the output in the canvas.

 

for viewing the result thru the application navigate to View on top, Select "Interface Designer ". A pop window will appear and all you need to select is the checkbox of the browse tools that you need to see the output under the section "On Sucess - Show Results to User" from the settings, attaching Screenshots for your reference.

 

Please don't forget to accept the solution if it works 

Labels
Top Solution Authors