In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Controlling different Schema Names for static table names

GauravRawal
8 - Asteroid

Hi,

 

What is the best to way to have control on different schema names, username and passwords without changing all the input nodes, in a flow?

 

For ex, there are there are 3 schema Dev, Test and Prod and a flow has been created for DEV which works on 10 tables as input nodes. Instead of making the flow ready for next TEST and PROD env, how can i control the working of flow by changing the schema name at a single place rather than changing it in 10 input nodes each time?

 

Thanks.

2 REPLIES 2
Joe_Mako
12 - Quasar

One option is to use a Batch macro like in the attached.

 

For each record passed in the input it will use the Connection string and Query string to run an Input for.

 

I also attached an example use of it (you will need to edit to use a valid connection and query)

 

db query.png

GauravRawal
8 - Asteroid

Thanks Joe.

 

I managed to create the macro using your suggestions.

Labels
Top Solution Authors