{"id":1255,"date":"2015-07-02T19:42:00","date_gmt":"2015-07-02T18:42:00","guid":{"rendered":"http:\/\/read.virtualizeplanet.com\/?p=1255"},"modified":"2015-07-02T19:42:47","modified_gmt":"2015-07-02T18:42:47","slug":"vco-workflow-parameters-to-request-a-vra-catalog-item","status":"publish","type":"post","link":"http:\/\/read.virtualizeplanet.com\/?p=1255","title":{"rendered":"vCO workflow parameters to request a vRA Catalog Item"},"content":{"rendered":"<p>OK playing around tonight with vRealize Orchestrator day I wanted to use the workflow from the vRA Plugin to Request a Catalog Item in vRA. In my case it was a Blueprint to deploy an Ubuntu server.<\/p>\n<p>Now as a prerequisite you have to run a few other workflows to initiate your instance of vRA but you can find a plethora of blogs showing how to do that.<\/p>\n<p>When I executed \u201cRequest a catalog item\u201d workflow it failed. It was looking for parameters and I made an educated guess that the parameters where the parameters displayed when you requested a catalog item from vRA like CPU, Memory Storage etc.<\/p>\n<p>When I ran the workflow without paramters vRO didn\u2019t error but the request in vRA did with an error &#8216;Entries&#8217; should not be empty which gave me the clue what the parameters were. My next attempt I tried to mimic the Item properties like VirtualMachine.CPU.Count . This time when I ran the workflow vRO failed and the complaint was it didn\u2019t like the parameters. What I hadn\u2019t noticed at first was in the log vRO was telling what parameters it was expecting:<\/p>\n<p>[2015-07-02 18:59:25.124] [I] Accepted inputs:<\/p>\n<p>[2015-07-02 18:59:25.125] [I] &#8211; provider-Cafe.Shim.VirtualMachine.NumberOfInstances<\/p>\n<p>[2015-07-02 18:59:25.125] [I] &#8211; provider-Cafe.Shim.VirtualMachine.TotalStorageSize<\/p>\n<p>[2015-07-02 18:59:25.125] [I] &#8211; provider-VirtualMachine.CPU.Count<\/p>\n<p>[2015-07-02 18:59:25.125] [I] &#8211; provider-VirtualMachine.LeaseDays<\/p>\n<p>[2015-07-02 18:59:25.125] [I] &#8211; provider-VirtualMachine.Memory.Size<\/p>\n<p>[2015-07-02 18:59:25.125] [I] &#8211; provider-blueprintId<\/p>\n<p>[2015-07-02 18:59:25.125] [I] &#8211; provider-provisioningGroupId<\/p>\n<p>&nbsp;<\/p>\n<p>Of course after I added the CPU, Memory and Storage parameters (as above) while running the workflow it all worked \ud83d\ude42\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>OK playing around tonight with vRealize Orchestrator day I wanted to use the workflow from the vRA Plugin to Request a Catalog Item in vRA. In my case it was a Blueprint to deploy an Ubuntu server. Now as a prerequisite you have to run a few other workflows to initiate your instance of vRA [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15,4],"tags":[],"class_list":["post-1255","post","type-post","status-publish","format-standard","hentry","category-vcloud","category-vmware"],"aioseo_notices":[],"views":6042,"_links":{"self":[{"href":"http:\/\/read.virtualizeplanet.com\/index.php?rest_route=\/wp\/v2\/posts\/1255","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/read.virtualizeplanet.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/read.virtualizeplanet.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/read.virtualizeplanet.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/read.virtualizeplanet.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1255"}],"version-history":[{"count":2,"href":"http:\/\/read.virtualizeplanet.com\/index.php?rest_route=\/wp\/v2\/posts\/1255\/revisions"}],"predecessor-version":[{"id":1257,"href":"http:\/\/read.virtualizeplanet.com\/index.php?rest_route=\/wp\/v2\/posts\/1255\/revisions\/1257"}],"wp:attachment":[{"href":"http:\/\/read.virtualizeplanet.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1255"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/read.virtualizeplanet.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1255"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/read.virtualizeplanet.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1255"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}