Hi,
I need to capture user business group when opening vRA request.
I`ll explain,
I have vRA XaaS blueprint parameter that get external values from vRO action
but, the return values depends on the user business group.
so I must capture current user group before the request page done loading the external values
Things I tried so far:
1. System.getContext().getParameter("_asd.requestInfo_~subTenant~name");
2. I tried to get it from the form parameters
which leads to: (when the request done loading - reminder I need to before the request done loading)
3. I tried this one too current business group
but this solution yields all user business groups
help ?
All you should need is System.getContext().getParameter("__asd_subTenantRef")
That wont work, I keep getting null..
**EDIT**
Just found out the SQL plugin isnt working. will update again..
Found a solution
when using external values I can inject value into the 'input' parameters like so:
look at the bg parameter.
this injects the business group into the action.