HonorGod wrote: > Looks like functions on lhs can only be called from eval. > IIRC you can use functions in LHS only inside an eval or return type. > I guess the below should work for me - > > eval(caEventDO.getPersonCode().equals(getName("$param"))) > > Is this correct ? > yes that should be OK, have you tested it?