hi @BrianJ
Thanks for the update! Based on your logs, the rule is failing at this line:
CertificationEntity ce = (CertificationEntity) entity;
The issue is that ce.getOwner()
is returning null
, which means the certifier isn’t being retrieved correctly. This usually happens if the certifier is a workgroup and not an Identity.
To fix this, try checking the type before casting:
Object owner = ce.getOwner();
if (owner instanceof Identity) {
Identity duenoActual = (Identity) owner;
// continue with your logic
} else {
customLog.debug("Owner is not an Identity: " + owner.getClass().getName());
}