Quantcast
Channel: VMware Communities : Discussion List - vRealize Orchestrator
Viewing all articles
Browse latest Browse all 6251

Waiting event - how to create the trigger

$
0
0

Hello,

i'm working on a Workflow which is basicly cloning a VM and after that doing some GuestCustomization via the GuestSpecification.

 

I'm at a point where i want to 'catch' the VcCustomizationSucceeded - Event (if i'm correct here)

https://www.vmware.com/support/orchestrator/doc/vco_vsphere50_api/html/VcCustomizationSucceeded.html#field-detail

 

i see in the vsphere Client in the "Events" of the cloned VM 2 Events.

- 1 is saying that guestcustomization is starting

- 1 is saying that the guestcustomization is finished.

 

So my Idea was, that I use in the Workflow the "Waiting event"-element.

This elemnt requiers a Trigger - but how do I setup the Trigger?

 

i was looking arround and found somewhere VcEventManager-Class with a 'createTrigger' Method - yay

https://www.vmware.com/support/orchestrator/doc/vco_vsphere50_api/html/VcEventManager.html#createTrigger

but hell i have no clue how to set the correct parameters. Ok the parameter 'timeout' is easy - but how do I tell that method that I want the event from my clonedVm with that special Event?

 

Maybe someone can help me please.


Viewing all articles
Browse latest Browse all 6251

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>