I'm trying to create wrappers for the workflow "Connect Virtual machine NIC number to distributed virtual switch". To do this I need to convert the complex keys to simple. I'm able to query the vm from a string variable but when I run my workflow I get an error.
TypeError: Cannot read property "hardware" from undefined (Dynamic Script Module name : connectVmNicNumberToVirtualDistributedPortgroup#14)
Anyone have an idea what I could be missing?