1 person found this helpful
Unfortunately, it's not that easy: You only can place basic input types like a string, number or boolean via the plan value.
For Inventory-Objects, like a VirtualMachine or a HostSystem you had to specify the vCO-internal ID. To get this ID now, you have to call the findXXXX()-Methods of the SOAP-Webservice before (see the flowchart in the documentation:http://pubs.vmware.com/vsphere-50/topic/com.vmware.ICbase/PDF/vcenter-orchestrator-42-develop-web-services-guide.pdf page 10).
For this there is an example in the samples-package, implemented in Java (but you should be able to see the idea), see some introduction here:
If all that seems to complicated (yes it is :-) ), you could...
... transfer the logic to get the IDs of the object in the system which generates the XML (e.g. there are some methods to "translate" vCenter Managed Object IDs (MOID) to vCO-Inventory Object IDs, you can find them in the SdkConnection-Class.
... or you could implement the logic to find the objects for a given name into the workflow (as first step). Than your workflow only needs easy to provide plain strings as input. The xpath-filters for the getAllXXXXX()-Methods of a SdkConnection might help here.
(There are a bunch of discussions and examples about this here in the forums: http://www.google.de/search?q=xpath+orchestrator+site%3Acommunities.vmware.com )
Thanks Joerg. I need to do a lot more reading and see if I can work it out.