Quantcast
Channel: VMware Communities : Discussion List - vRealize Orchestrator
Viewing all articles
Browse latest Browse all 6251

Incorrect Type when adding Attribute to Configuration Element

$
0
0

I am attempting to add new attributes to a configuration element using the "ConfigurationElement.setAttributeWithKey" method.

 

The value type I have populated is an Array of Strings. I confirmed within the workflow, the data is represented correctly in an Array of Strings. However, when using the method to add the new attribute of array of strings as a value, the resulting type that was added into the configElement is just an "array" type. Not an Array of Strings. Because of this, no data was added to the value of the attribute because of the mismatch of types.

 

Does the API method only accept a single object type, not an array of objects?

 

Thanks,

 

-Zach


Viewing all articles
Browse latest Browse all 6251

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>