Skip to content

Instantly share code, notes, and snippets.

@YagmurOzden
Created August 29, 2022 09:29
Show Gist options
  • Save YagmurOzden/12d90a31a65e15f1d3a312b24e4d42d7 to your computer and use it in GitHub Desktop.
Save YagmurOzden/12d90a31a65e15f1d3a312b24e4d42d7 to your computer and use it in GitHub Desktop.
Returns the configuration element
// VMware vRealize Orchestrator action sample
// vRA 8.7.0
// input types: categoryPath [string]
configName [string]
// return type: ConfigurationElement
var category = Server.getConfigurationElementCategoryWithPath(categoryPath);
for each (var c in category.configurationElements){
if (c.name == configName){
return c;
}
}
return null;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment