Hello,
I'm using the following schema for my workflow
The first action gets all virtual machines in a folder.
The second workflow is a foreach workflow that is supposed to create a snapshot for each VM passed to it from the getAllVirtualMachinesInFolder action.
The third workflow is a foreach workflow that is supposed to reboot guest OS in the same manner as the snapshot.
Seems simple enough, but I'm getting this error:
com.vmware.library.vc.basic/vim3WaitTaskEnd) Error in (Dynamic Script Module name : vim3WaitTaskEnd#20) Task 'CreateSnapshot_Task' error: The operation is not supported on the object.
Workflow execution stack:
***
item: 'Create a snapshot/item1', state: 'failed', business state: 'null', exception: 'Task 'CreateSnapshot_Task' error: The operation is not supported on the object. (Dynamic Script Module name : vim3WaitTaskEnd#20)'
workflow: 'Create snapshot of all virtual machines in a folder' (8a33318d-c441-4931-8de6-224aa3c03aa3)
So what is happening here? It's trying to snapshot the folder? Why? Here is my visual binding, it seems correct.
Thanks in advance!