Inspire EMEA 2022 On-Demand is live! Watch now, and be sure to save the date for Inspire 2023 in Las Vegas next May.

Alteryx Designer Discussions

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

Variables or parameters

kbrummert
6 - Meteoroid

Is there a variable or parameter object whose value I can set using a drop-down or some other interface while running an application?

 

I was able to do a workaround using an update value object, but this does not appear to be available across the workflow, as a user variable would be in MS Integration Services.  Is there such an equivalent in Alteryx?

3 REPLIES 3
Treyson
12 - Quasar
12 - Quasar

Hello again! 

 

Another great question. I believe that as of right now there is no native to that allows you to create a global variable that updates throughout the entire app. However, you can build that functionality with multiple action tools coming from a single drop down list. I have attached a really poor example that doesn't have a ton of real application, but you should be able to see how you can connect to lots of places using multiple action tools coming from the drop down. This works for all of the interface tools, but you just need to make sure the data works.

 

I hope this answers your question.

 

Treyson

Treyson Marks
Senior Analytics Engineer
vkarthik21
8 - Asteroid

In the 'Workflow Configuration' tab, go to 'Workflow'. Here you would find 'Constants'. Here is where you can declare user defined variables which is similar to Variables in SSIS. This value can be accessed across the whole workflow.

 

The catch here is that unlike SSIS, you can't change this variable value externally via a config file etc. It needs to be done manually every single time. I know, it is not 'Configuraiton' that you would expect. 

 

if you still want to achieve this, what I would suggest is to maintain a flat file of variables and configuration values and use an 'Input Tool' to get this into your workflow. You would need to somehow have these config values added as extra details on to your input data and then start using them. It's not an ideal solution, it would be messy but it would still ensure you have a way of making the configuration environment specific and dynamic without having to open Alteryx.

 

Alteryx Designer x64 - Workflow Configuraiton settings.png

Billigans
8 - Asteroid

Do you know if there is an online training around this. I would like to know more as I use it in excel all the time. 

Labels