Hi,
Which workflow do you use to create a virtual machine?
If you use out-of-the-box 'Create simple virtual machine' workflow, you cannot directly choose the type of the network adapter because such option is not exposed as input parameter. Take a look of this workflow (and its scriptable task labelled 'Create ConfigSpec') - it invokes scripting action com.vmware.library.vc.vm.spec.config.device.createVirtualEthernetCardNetworkConfigSpec() without providing a value for its 3rd parameter, which is exactly the NIC type to create.
So, if you want to specify NIC type, one possible option is to duplicate 'Create simple virtual machine' (in order to be able to modify it), open it for edit, and replace the line:
deviceConfigSpec = System.getModule("com.vmware.library.vc.vm.spec.config.device").createVirtualEthernetCardNetworkConfigSpec( vmNetwork );
with:
var nicType = "e1000"; // or other valid NIC type; also you can take its value from an input parameter of the new workflow
deviceConfigSpec = System.getModule("com.vmware.library.vc.vm.spec.config.device").createVirtualEthernetCardNetworkConfigSpec( vmNetwork, null, nicType );