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

Guidance on CRUD Operation

$
0
0

Greetings,

 

I've been trying to write a workflow to retrieve information about Network Profile using CRUD operation, following the guide below

http://pubs.vmware.com/orchestrator-plugins/index.jsp?topic=%2Fcom.vmware.using.vcac.plugin.doc_62%2FGUID-E53805FF-CE6D-4806-9CC3-B5089065C940.html

I used StaticIPv4Address as the entity set name

 

var model = "ManagementModelEntities.svc";

var entitySetName = "StaticIPv4Address ";

var property = new Properties();

property.put("VirtualMachineID",null);

var entities = vCACEntityManager.readModelEntitiesByCustomFilter(vcacHost.id, model, entitySetName, property, null);

 

But when I ran the workflow, it returned an error:

[2017-03-15 10:00:54.317] [E] Error in (Workflow:Clone_CRUD_Eg / Get Properties (item1)#4) EdmEntitySet StaticIPv4Address is not found

 

I checked for the table named "StaticIPv4Address" in IaaS database and found it. So I thought it might be the model name that caused the problem. But I don't know how to correct it, since this CRUD operation thing confuses me


Viewing all articles
Browse latest Browse all 6251

Trending Articles



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