Error: [810215] Method PrepareAttestations has been disabled and cannot be run.

Hello,

v9.2.1

We have developed a custom onboarding form that utilizes the New User Certification Attestation. We made a copy of the New User Certification Attestation, customized the workflow, and adjusted the attestation policy. This process is scheduled to run every five minutes. However, it consistently ends with an error. The issue arises when the scheduled run fails with the below error, but when I manually trigger(Run attestation cases for single objects)  the attestation policy for individual objects, it works perfectly. Additionally, there is another attestation policy(for AD Groups) configured which makes use of Method PrepareAttestations and that also works when the schedule runs. Any suggestions on how to resolve this?

Error saving CCC_New user certification: [810215] Method PrepareAttestations(VI.DB.Entities.ISession, VI.DB.Entities.IEntity, System.Threading.CancellationToken) has been disabled and cannot be run. Method PrepareAttestations was called for 1 object(s) of type AttestationPolicy.

Thanks,

Pavithra