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

Use Parameters without Action in Analytic App

derar-alhussein
7 - Meteor

Hello

 

Is there a way to use the input parameters (app values) of Analytic App directly in formulas without using Action tool ?

I mean to use the input parameters in the same way as we use constants ? For example, we can use [Engine.TempFilePath] or [User.MyConstant] in formulas.

Can I say for example [Parameter.MyInputParameter] ?

 

Thanks

 

 

 

 

 

4 REPLIES 4
patrick_digan
17 - Castor
17 - Castor

@derar-alhussein Yes! and it's great! help.alteryx.com calls them reference shortcuts. You can use %Question.YourParameterName% in a formula tool. It feels a little weird at first, but it basically does a replacement of this with your variable. This means you may have to put it inside quotes, like "%Question.MyInputParameter%" if you're using it as text. Let me find my idea that asks Alteryx to add Questions so you could just use the normal structure ([Question.MyInputParameter]).

 

EDIT: Here is my idea post asking them to allow question constants to appear just like User and Engine constants. Since I'm already on my soap box, this other idea of mine would also make working with interface tools easier.

patrick_digan
17 - Castor
17 - Castor

@derar-alhussein And to give credit where credit is due, @AdamR_AYX answered a very similar question for me when I was first starting out with apps. I almost never use action tools anymore as I find many benefits of using the reference shortcut method.

derar-alhussein
7 - Meteor

Thank you a lot @patrick_digan. Your solution is really helpful :)

bkclaw113
9 - Comet

This is useful in many situations however I find the reference shortcuts do not resolve when using the Debugging Mode from the interface designer (as of version 2019.4)

Labels