Hi folks,
We are able to successfully deploy Hadoop Clusters with the help of vCAC - vCO Integration. We are trying to update the database with information like username (who requested the Hadoop Cluster), Business Group etc., The problem is, we are not able to pull the username and Business Group details from vCAC through the Hadoop Workflows in vCO. These details are neither the inputs nor attributes nor outputs.. yet, all the details are displayed. But, when the workflow starts we get all the details such as username and Business Group ID in vCO under the 'Variables' tab (Shown in the below picture). Is there any way we can log this information??
System.log(__asd_tenantref); --doesn't work.
I think these values are updated automatically through vCAC when the cluster deployment is initiated. Is there any way we can track these information?
Thanks,
SK
(In the picture below, the highlighted ones are the required information)
To get these variables please use these package : com.vmware.library.asd.package
To get these variables please use these package : com.vmware.library.asd.package
Thank you for that!
I imported the package to the vCO. Sholud I use the action element in the existing Hadoop Workflows? If yes, how should be this action element used? Can you give more insight on the usage of this? I am not quite getting it.
Thanks
SK
You can either call these actions in your workflow and map the output paramter to a workflow attribute or call them within a scriptable box or copy and paste the content of the code in it.
'__asd_requestedFor' is not working from actions. Is there any other way to get user details from actions?
Hi,
What is the issue you are facing? Any specific error notifications?
'__asd_requestedFor' returns null when it has been invoked through presentation from the action module. So requestor cannot see any values when they submit the request. But it returns me the username only when it has been called from the workflow script. I wanted to list all the VMs owned by users group in the presentation.