I am trying to get the following workflow to run. It has one vCACCAFE:VCACHost input bound to the script for selecting the vRAHost:
System.log ("vCACCAFEHostPlugin: " + vRAHost)
var filter = new Array();
filter[0] = vCACCAFEFilterParam.substringOf("owners/ref", vCACCAFEFilterParam.string("username@domain"));
var query = vCACCAFEOdataQuery.query().addFilter(filter).toString();
System.log("Query: " + query);
System.log("vRAHost " + vRAHost)
try{
var catResources = vCACCAFEEntitiesFinder.findCatalogResources(vRAHost,query);
}catch (e){
System.log(e);
}
When I run the above, it comes back with InternalError: java.lang.reflect.InvocationTargetException (Workflow:Get Machines....
Is there something going on with the vRA host we are trying to use?
Is there anyway to get any additional information from the error other than an InvocationTargetException?
Any assistance would be greatly appreciated.
Thank you,
Bob Wieberdink
var filter = new Array();
filter[0] = vCACCAFEFilterParam.substringOf("owners/ref", vCACCAFEFilterParam.string("aic2811@amway.com")); var query = vCACCAFEOdataQuery.query().addFilter(filter).toString();
System.log("Query: " + query);
System.log("vRAHost " + vRAHost)
try{
var catResources = vCACCAFEEntitiesFinder.findCatalogResources(vRAHost,query);
}catch (e){
System.log(e);
}