Update Global Variables or Best way to use variables

ramanjaneyag09
Dataiku DSS Core Designer, Dataiku DSS & SQL, Registered Posts: 4 ✭✭✭✭
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?
Answers
-
dima_naboka Dataiker, Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS Core Concepts Posts: 28 DataikerHello,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: