I want to create VM weekly reboot task along with VM provisioning via vRA blueprint. Understand there is a schedule task option within vCenter which allows VM's hourly or weekly reboot.
Is there any workflow or vRO package available?
Thanks for suggestion. I am trying to provide this as resource action ( sort of day 2 action for end user ).
Selected "Create Recurrent Task" followed by "Reboot Guest OS" vRO workflows. Provided workflow ID of Reboot Guest OS to first task but how to pass selected virtual machine name to Create recurrent task?
Selected external source but no vRO logic is appearing?
Passing Virtual machine manually!! What would be the Key and value?
You need to get the Vc:VirtualMachine object of the vm first. After that, the Create Recurrent Task workflow requires a Properties object as input.
var workflowArguments = new Properties();
workflowArguments.put("vm", vmObject); //First is the name of the input at the workflow, and the second is the vm object.