Survey banner
The Dataiku Community is moving to a new home! We are temporary in read only mode: LEARN MORE

Update Global Variables or Best way to use variables

Level 2
Update Global Variables or Best way to use variables

Have created dataiku Global Variables in Designer node and used these variables in Pyspark recipes.

Would like to know how to promote these dataIku Global Variables? Also how to set it to different values in Automation Node for a given variables?

What is the best way to have variables which can be used acrossed environments ( Designer to Automation )... JSON or YAML or Typesafe file etc?

0 Kudos
1 Reply
An alternative to using global variables would be project variables. Project variables are included into bundles. Hence, when you push your project to automation (or another design node) custom project variables remain available. 
If you want to update their values you can do that from UI (Variables menu inside your project) or using Python API. Please see Alex’s examples from previous topics on this subject: