Free Trial

Forum

Trouvez des réponses, posez des questions, et partagez votre expertise d’Alteryx.
TIPS de la semaine

Chaque semaine, découvrez de nouvelles astuces et bonnes pratiques pour devenir un expert !

Voir l'index
RÉSOLU

From dev server to prod

souma
Atome

hy , 

i'm trying to move from the dev to prod , the input will be the same , but i have to change the output data base .

is theire any way to do it automotically for the whole project 

3 RÉPONSES 3
itestu
Alteryx
Alteryx

Hi,

 

You can use alias database : one alias in the workflow but referenced different environment depending on where the workflow is run.

Please have a look to this post that will give you more information : https://community.alteryx.com/t5/Alteryx-Designer-Knowledge-Base/Database-Connections-Creating-an-al...

 

 

If this post has helped you, then please consider Accept it as the solution to help the other members find it more quickly.

Julien_B
Astéroïde

In addition , you could use workflow user variables.
First you configure your input tool, for instance, this way :

Julien_B_0-1573048193996.png
Then you create a user variable (for instance, DB_ALIAS): 

Julien_B_1-1573048261677.png
And then you can use it this way into your Input data configuration

Julien_B_2-1573048326767.png
This way, if you have to use multiple Input / Ouput tool, you can easily switch from dev to prod by changind the value of your variable.
In addition, If you transform your workflow into an analytic app, you could also let the user choose on which env the workflow should run

WilliamR
Alteryx
Alteryx

Hi @souma  , can you please validate if the answers from @itestu or @Julien_B are ok for you ? if so, would you mind accept it so that community users will find more easily the answer ?

Thanks.

Étiquettes