I have two VO's . Let's suppose ParentVO and ChildVO and I created a view link accessor using them.
In Child VO query , only current logged In user results should be returned.. so In query where clause I have added a condition -
and loggedInUser = adf.context.securityContext.getUserName() -- Groovy expression.
but this is not working . API is not giving any results .
If I pass , any literal value instead of groovy , it works.
If I use ChildVO(like Parent/Main VO) directly (not as child of any VO) . this is working (just for testing purpose I did)