Hi,
in vRA 7 it was possible to read out the owner of a deployment via the payload. Unfortunately, when I look at the event topics of the subscriptions in vRA 8, I no longer find this in the properties.
Does anyone have an idea how to otherwise read the owner of a deployment / VM via a vRO workflow?
Hey there,
Assuming that the Owner is the same as the Requester (which it normally is), create a workflow in vRO, as follows
Workflow Name: Show Properties
Single input, called inputProperties of type Properties
Add a script object to the canvas and set the inputProperties workflow input as an input to the script object. Use the following code to show the properties as well as the requestors name:
From there, you can adapt and modify to suit your needs and use case.
Hey there,
Assuming that the Owner is the same as the Requester (which it normally is), create a workflow in vRO, as follows
Workflow Name: Show Properties
Single input, called inputProperties of type Properties
Add a script object to the canvas and set the inputProperties workflow input as an input to the script object. Use the following code to show the properties as well as the requestors name:
From there, you can adapt and modify to suit your needs and use case.
It worked, thanks for the quick reply! 😃
Different solution would be to simply add the property in your Cloud Template
myco_owner: ${env.requestedBy}
Carl L.