I have a workflow event subscription configured for following state, phase & event:
State: CloneWorkflow.CloneMachine
Phase: EVENT
Event: CloneWorkflow.CloneMachine.EVENT.OnCloneMachineComplete
Now in there are no vcacProperties available within a vRO workflow during the CloneWorkflow.CloneMachine state.
Now I need to access custom property that I have set within the blueprint and I need to consume it within my workflow. The question is what are valid workaround to pass a blueprint property to vRO workflow.
Thanks.
Regards Shekhar
Here's how you can load all properties for a vCACVirtualMachine at any time. You need the vCACEntity (vCACVirtualMachine.entity) & a reference to the vCACHost
The Event should have the ID of the machine and/or the name so you will be able to to
Server.findAllForType("vCAC:vCACVirtualMachine") and then filter
I've used this extensively in the past with no issues
---------------------------------------------------------------------------------------------------------
Was it helpful? Let us know by completing this short survey here.
Here's how you can load all properties for a vCACVirtualMachine at any time. You need the vCACEntity (vCACVirtualMachine.entity) & a reference to the vCACHost
The Event should have the ID of the machine and/or the name so you will be able to to
Server.findAllForType("vCAC:vCACVirtualMachine") and then filter
I've used this extensively in the past with no issues
---------------------------------------------------------------------------------------------------------
Was it helpful? Let us know by completing this short survey here.
Thanks a lot. I will try it out and revert back.
Regards / Shekhar
Worked like a charm. Thanks. once again.
Regards Shekhar