I'm still really new to vRA/vRO and trying to wrap my head around some of the concepts. To that end I've been trying to make a simple event that will move a VM to a specific folder after provisioning for the VM takes place.
I've setup the event with the proper conditions and receive the "payload" of "Extensibility.Lifecycle.Properties.VMPSMasterWorkflow32.MachineProvisioned.*". I've logged those values to see what they were.
My problem now is trying to move the VM using those properties. I can't seem to find a "getVirtualMachine()" method that will take the "machine.id" property so that I can apply it to the Move virtual machine workflow (one that comes with vRO).
I've been digging around trying to figure out if I can pass that data directly to the event but finding the variables to expose seems to be ... difficult.
Can someone suggest a process that will allow me to follow this through to the end? If I can find a way to hand off the VCVirtualMachine value to the workflow that would be easiest but if I could also find a method to get that using the machine.id from the payload properties that also would allow me to do it.