Hello
I've a workflow that change VM memory, but I need to know if this workflow finish well to run another workflow.
//Auto generated script, cannot be modified !
actionResult = System.getModule("com.vmware.library.vc.vm").changeVMRAM(vm,memory) ;
The variable actionResult is a VcTask object.
Regards
So, in short, next thing you need to do is poll the task status.
Wait for it to finish and then look at it's result.
you need the action com.vmware.library.vc.basic / vim3WaitTaskEnd
By default, you cannot add CPU and memory resources to a virtual machine while the virtual machine is on. So if you want to change vCPU and memory, you need to shutdown the virtual machine beforehand. You have to run the powerOff action for this. You should then run the actionResult command. Thus, the transaction will be successful. You don't need to check.