Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

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

Alteryx Analytics App - prompt for user

StephenT
8 - Asteroid

Hi all

I have a, hopefully quick and easy question :

 

I am building one workflow, to replace 3, and am looking to add a prompt where 1 of 3 people select their name, and process the workflow based on different input types (e.g. Dremi Data Feed, and 2 different XLSX sheets).
I have knocked up this quick workflow, and get 2 of the 3 names to prompt and missing the 3rd one, but the 'action' tool seems to only pick up the very first data source (Stephen)

StephenT_0-1653884295657.pngStephenT_1-1653884343932.png

 

Any guidance as to what I'm doing wrong would be appreciative.

7 REPLIES 7
Qiu
21 - Polaris
21 - Polaris

@StephenT 
Do you mean you want to run different part of the workflow based on the user input?
If yes, maybe you should take a look at this.
https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Run-Container-workflow-by-condition/m-...

StephenT
8 - Asteroid

Thanks @Qiu 

 

That's not quite what I need, sorry

I need the Analytics app to prompt for the 3 users, then based on their selection, sun an import tool, then proceed to run the rest of the workflow per my screenshot.

 

It sounds nonsensical but each user has a specific input too to run, which has their own workflow.

I am trying to simplify things to the users so they see a prompt with their name, then the workflow runs, based on their selection

DataNath
17 - Castor
17 - Castor

Hey @StephenT, just spitballing as I’m not at my laptop to start trying to build something out. Could you not just use a drop down containing the 3 names, and then 3 condition tools hooked up to each of the containers? I.e. the condition for activating the first container would be [#1] = ‘Stephen’ and so on? I can’t remember off the top of my head if they’ll function in this way so if that doesn’t work and you’re still without a solution in about an hour I can try and put something together!

 

For your current approach, radio boxes are a little sneaky in that if the user does select one, that actually disables the container it’s connected to and so for each name you’d need to actually rig it up to the other 2 names, so that when you select it, it disables those instead of your actual ‘target’. 

it also looks like your action tools are using the ‘Update Value’ behaviour, rather than ‘Enable/Disable Container From Question’ - you can just change this using the dropdown in the tool configuration.

ddiesel
13 - Pulsar
13 - Pulsar

Hi @StephenT!

 

I think I understand what you're trying to do, but the two screen shots you provided do not appear to be in agreement.

 

In the screenshot of the app interface, I see two square check boxes. However, in the first screenshot of your canvas there are three Radio Button interface tools. Radio buttons appear round in the app interface, not square. Did you recently switch from Radio Buttons to List Boxes/Check Boxes?

 

What does Interface Designer-Layout View look like?

ddiesel
13 - Pulsar
13 - Pulsar

@StephenT 

P.S. In case it's helpful: I have a similar app that uses Check Box interface tools to turn on and off containers. 


Here is the formula I use in the action tool:

if [#1] THEN "False" else "True" endif

(you might want to flip flop True/False depending on what your default is)

 

Capture.JPGCapture (1).JPGCapture2.JPG

StephenT
8 - Asteroid

Thanks @ddiesel 

I managed to get your solution to work, using Radio buttons, instead of check boxes, and is exactly what I was looking for. Thank you so much, as you've made my job that much easier.

I am learning Alteryx day-by-day and thought i was reaching too high with this question

I will implement it not my new 'master' workflow and see what happens 

Thanks to @Qiu@DataNath for your help

ddiesel
13 - Pulsar
13 - Pulsar

@StephenT 

 

Glad to be of help!

 

I learned how to do this by reading community posts, so I'm happy to pass it on.

Labels
Top Solution Authors