Join us on July 16th as we explore real-world Reinforcement Learning Learn more

How to update global variables in scenarios

Level 1
How to update global variables in scenarios

I've been trying to update global variables in scenarios. But I kept getting the error: "java.lang.SecurityException

You may not update global variables".



This is how I am setting the variables. How should I fix the issue? Thanks!



0 Kudos
1 Reply
Dataiker
Dataiker
Hi,

The error most likely indicates that you don not have DSS admin rights.
Other than becoming an admin on the platform, you can ask your admin to run the scenario for you making sure to select the admin name in the "Run as" field in the scenario settings.
An alternative you could explore, depending on the use case at hand, are Project Variables
Best,

Jean-Yves
0 Kudos
Labels (2)