We have advanced policy for few scenarios from IIQ 7.2. We did upgrade iiq to 8.0P2, now we see advanced policy not able to create PolicyViolation object in System and let users submit the request.
In policy rule, we have logic and using below code to set the policy violation. We able to see policyviolation object in log by using v.toXml() but policyviolation object / form not appearing in iiq. please let me know anything else i need to set along with below properties.
v = new PolicyViolation();
v.setDescription("[More then One !DEPT Group is the extra entitlement.]");