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

VCAC 6.0.1 plugin - unable to convert from [vCACCAFERequestCompletion to string

$
0
0

I want to get the request completion as text, but it is being stubborn.  I want to pass this to another workflow, but it will not populate the output.  When I set the output to any, it stores as base64.

 

Thank you

 

 

 

var objects;

switch(objectType)
{
case "catalog":
  objects = Server.findAllForType("vCACCAFE:CatalogItemRequest");
  break;
case "host":
  objects = Server.findAllForType("VC:HostSystem");
  break;
default:
  objects = Server.findAllForType(objectType);
  //throw("Unknown object type: " + objectType);
}
//System.log('id: ' + name.toLowerCase());
var temp
for each (var object in objects) {
if (object.id.match(name)) {
  //if (exactMatch && (object.name.length != name.length)) {
  // continue; // Wasn't an exact match, so skip this object
  //}
 
  temp = object.requestCompletion
 
  System.log('id: ' + temp);
}
}
  matchingObjects = temp

 

 

DynamicWrapper (Instance) : [vCACCAFERequestCompletion]-[class com.vmware.vcac.catalog.rest.stubs.RequestCompletion] -- VALUE : SUCCESSFUL - Request Completed Successfully. Created TPRTNR-MULTI20 and TPRTNR-MULTI21


Viewing all articles
Browse latest Browse all 6251

Trending Articles



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