How do I resolve the Custom Validation error in Salesforce Apex jobs?