Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Update workflow constant via interface for Analytics app

YanishDewan
7 - Meteor

Hi, 

 

I am using workflow constant as parameters for various filters on my workflow. However, i am now convert my Alteryx workflow into an analytics app using various drop down menus to allow users to select the filter parameters and use action tool.

 

is there a way to parse the value selected from the drop down menu directly into the workflow constants for filter?

 

I have tried to write an expression in my filter using this structure "[AHG.Name] = "%Question.Drop Down (AHG)%"" where Question.Drop Down (AHG) is an interfance dropdown.

5 REPLIES 5
JoeS
Alteryx
Alteryx

The way that you have done it is almost correct.

 

It's more likely to be:

 

[AHG.Name] = "%Question.Drop Down (3)"

 

The thing to note is it will be the tool ID name, rather than the name that you set the question as.

 

If you look in the workflow section of the configuration, you'll see the constants tab to find the name you are looking for.

 

It's also worth noting, this will only then be implemented when run as an app, and not when you run the app as a workflow.

YanishDewan
7 - Meteor

Hi Joe, 

 

Thanks for your reply. I have checked the question IDs and amended the filter expression as below however I am still getting no output when running as an app.

 

 

 

Can you please help?

2019-09-24 15_03_23-Alteryx Designer x64 - JCI_Report_ETB v3.yxwz_.png2019-09-24 15_02_53-Alteryx Designer x64 - JCI_Report_ETB v3.yxwz_.png

JoeS
Alteryx
Alteryx

That looks correct, if you set the value in the second screenshot to something in your data, it should work then?

 

I have attached an example to this post

YanishDewan
7 - Meteor

Thanks Joe - My drop down menu was populated from my data and I didn't realise that the column name was getting renamed with underscores to replace spaces.

 

Dynamic rename did the job!

JoeS
Alteryx
Alteryx

Wicked, glad you got it sorted!

Labels