I have a property defined with external value (vRO action). When selecting an IaaS catalog item with this property included the following error appears at the top of the browser:
Unable to refresh request form from the server Invalid argument
If I re-configure the property definition back to static ...
apples:apples
oranges:oranges
bananas:bananas
... then it works fine. I have seen differing solutions that either return a value of type string/array or Properties. Regardless of what my vRO action returns I get the same error indicated in the title:
var myReturnValue = [ 'apples' , 'oranges' , 'bananas' ]
return myReturnValue
.... or ....
var myReturnValue = { 'apple':'apple' , 'oranges':'oranges , 'bananas':'bananas' }
return myReturnValue
.... or ....
var myReturnValue = new Properties()
myReturnValue.put ( 'apples' , 'apples' )
myReturnValue.put ( 'oranges' , 'oranges' )
myReturnValue.put ( 'bananas' , 'bananas' )
return myReturnValue
The action logs the value of myReturnValue as well as the object type and object class name just to confirm I have the right type. When I compare my code to other code in the environment or code provided by VMware (all of the referenced actions in Configuration Details for the vRealize Orchestrator Action Custom Property Definitions) I don't see any real difference.
- Any ideas what to try next?
- Is there a log file to check on the vRA+vRO appliance that would help?