How to update global variables in scenarios

minliang1215
minliang1215 Registered Posts: 4 ✭✭✭✭

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!

Answers

  • Jean-Yves
    Jean-Yves Dataiker Posts: 14 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
Setup Info
    Tags
      Help me…