Update local variables on automation project
Hi,
I'm looking for the way to use : "Update local variables on automation project".
Indeed when I'm trying to use this option with for exemple :
{ "BON": "JOUR"
}
on deployer node : Deployments / $projecKey-on-dataiku-automation-2/settings/
I get this error :
Invalid format: Cannot read properties of undefined (reading '$invalid')
Whats wrong ?
Operating system used: linux aws
Operating system used: linux aws
Best Answer
-
Hi,
I get answer from the support :
--------------
Hello,Unfortunatly, you did stumble on a known regression bug. The fix has already been released in DSS 12.5.1. Please upgrade to resolve the issue.Regards,Technical support engineer,Dataiku
Answers
-
Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 2,125 Neuron
Why are you trying to update variables? Projects have two types of variables, Global and Local. Globals get included in the bundle, Local don't. Local always override Global. That means that if the same variable is defined in both Global and Local the Local value takes precedence. So define your variables in Global. Then set them in Local in Designer and Automation to whatever values you want. Problem solved. Any bundles will not include the Local values which you already set in the Automation node to the value you want.
-
Hello,
Thank you for your message. Perhaps I didn’t explain my problem clearly. I want to create a variable that would have a different value in design and in automation node depending on my groups. And I wish to do this with a macro during the deployment of the bundle.
Dataiku offers a menu for this : "Update local variables on automation project" (screen attached)and it’s great. But I encountered the error mentioned above.
Has anyone else received this error message?
-
Marlan Neuron 2020, Neuron, Registered, Dataiku Frontrunner Awards 2021 Finalist, Neuron 2021, Neuron 2022, Dataiku Frontrunner Awards 2021 Participant, Neuron 2023 Posts: 320 Neuron
Hi @Axolotl
,You can define variables at the node level. We do this for several variables. They are defined in config files on each node.
It sounds like you are after variables that are updated based on group and node so this probably won't help but wanted to mention it nonetheless.
Good luck.
Marlan
-
Hi @Marlan
, thanks for your answer.Indeed, its not exactly what im looking for because I have to select value by group.
Does anyone know how the feature "update local variable on automation project" works ?
Thanks