"Potential CSRF(Cross-site Request Forgery) detected" error

Hi All,

I am encountering a "Potential CSRF(Cross-site Request Forgery) detected against" error in a fresh installation of User Application. The custom workflow that is in place has a custom script in the approval form, where a separate function checks for the logged user's group membership. Without this function, the approval form works as expected, but when it is added, the approval form opens and the session is closed with the following error in the User Application log (no further information even in DEBUG):
ERROR [com.novell.common.AntiCsrfServletFilter] (https-jsse-nio-8543-exec-26) [RBPM] Potential CSRF(Cross-site Request Forgery) detected against /IDMProv/UIQuery?service=vdm