Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

Automation to change script which has multiple instances in multiple configuration.. #92

chaudharyritika ·

is there any way to change/modify a script written inside steps/variables/promotions/advanced settings which has multiple instances occurring in multiple configurations through automation?

  • replies 1
  • views 593
  • stars 0
robinshen ADMIN ·

You may find the object containing the script, change that and save relevant configuration. For instance, to change a step setting (which may include script):

groovy:

var confToModify = system.configurationManager.get("some_conf");
var stepToModify = confToModify.getStep("some_step");
// change settings of stepToModify
system.configurationManager.saveStep(stepToModify, stepToModify.name);