I have a flow that requires me to copy a configuration and disable it for the purpose of further operations.
After I copy the configuration I try to disable it using the following code snippet.
groovy:
dstConf = system.getConfigurationManager().get(vars.getValue("dstConfParent") + "/" + vars.getValue("releaseName"))
dstConf.setDisabled(true)
The dstConfParrent is a configuration which will be the parent of the configuration I am copying and releaseName is the name of the child configuration.
If I execute dstConf.getClass() it returns Configuration so I'm assuming my approach is correct.
This code will not throw any errors or warnings but it will not disable the "play" button in the copied configuration. Am I missunderstanding something here? <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( -->