Quantcast
Channel: VMware Communities : All Content - vRealize Automation Tools
Viewing all articles
Browse latest Browse all 9859

vCAC 6 Advanced Service Blueprint: Validating form fields

$
0
0

I am trying to validate a ASD form field in vCO. Basically to perform the form validation I have to know the requesting users account name.

 

I want to return a list of permitted values for a field based on the users access rights to certain objects. I have the validation being called correctly and returning test values, but I cannot complete the code without the users account details.

 

Once the work flow 'runs' then I can use System.getContext().getParameter('__asd_requestedBy') to get the requesting users UPN, but at the validation stage this variable does not seem to set.

 

I looked at Server.getRunningUser() but that just gives me the vCAC Cafe user.

 

So is there any mechanism for retrieving the requesting users name during validation?


Viewing all articles
Browse latest Browse all 9859

Trending Articles



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