vRO workflow to tell which vRA tenant is triggering the workflow, how?
We have multiple vRA 8 Tenants, which has the same embedded vRO, is there a way or how the vRO workflow can tell which tenant has triggered the workflow? The reason is that the vRO workflow needs to call back vRA with reh REST API to get projects/subnets etc from vRA itself.
System.getContext().getParameter(__metadata_orgId)
System.getContext().getParameter("__metadata_orgId") does get uuid but, how do I get which tenants it's from rather than not readable XXXX-XXXX-XXXX-XXXX ?
If you want the name, you need to call back to vRA via REST API:
GET "/csp/gateway/am/api/orgs/" + orgId
The response will have the display name of the tenant.
You can either set up a REST endpoint in vRO, or on vra8.3/8.4 use the vRA plugin.