I am writing a step template to update a settings document in RavenDB. The step receives a list of settings without values, this settings list changes depending on which database is being operated on. The values are variables within Octopus, and I would like to call these variables while the script is running.
Is there a way to call these variables without using $OctopusParameters?
Thanks for reaching out. The variables that are available using
$OctopusParameters are what we call System Variables. These can only be accessed using
$OctopusParameters. Is there a reason why you cant call them this way in your script?
Each database that is being updated, have a different set of variables. So instead of having all of these variables called through
$OctopusParameters, the script was only going to retrieve the variables that were needed.