SAP Knowledge Base Article - Public

2503205 - Off Cycle Event Batch Job Failed Caused by Invalid Rule Configuration

Symptom

Offcycle Event Batch Processing Job failed.

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."

Environment

SAP SuccessFactors Employee Central- Off Cycle Event Batch

Reproducing the Issue

  1. Configure Off Cycle Event Batch;
  2. Go to Manage Data;
  3. Add Off Cycle Event Batch;
  4. Run Off Cycle Event Batch Job;
  5. Job fails.

SAP Back End Log Information for Off Cycle Batch job failed:

Full exception:com.successfactors.jobscheduler.ScheduledJobExecutionException: com.successfactors.sca.ServiceSystemException: Remote Exception: RuntimeException; nested exception is: org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update at com.successfactors.jobscheduler.jobimpl.SimpleJob.execute(SimpleJob.java:425) at sun.reflect.GeneratedMethodAccessor783.invoke(Unknown Source)

Cause

This issue is caused by invalid rule configuration with Base Object. The Base Object of the associated rule must match the base object selected in the Off Cycle Event Batch job.

For example, if "Job Information" is selected as the Base Object for the job, then the associated rule must have "Job Information" as the Base Object.

Resolution

Please create a new associated rule with the Base Object set to the same as job's.

  • The BizX Daily Rule Processing Batch job is now renamed to Off Cycle Event Batch Processing Job.
  • Off Cycle Event Batch will have a job called BizXDailyRuleBatch:Processor:OFFCYCLE_EVENT

View Chapter - Setting Up an Off Cycle Event Batch Job

See Also

Keywords

Job Information, Base Object, Rule, Off Cycle Event Batch, Job Failed, Contract Information, ECT-76776, BizX Daily Rules Processing Batch, Employment Details, Employee Time, Work Order, Base Object, Could not execute JDBC, batch update, Error, Issue, Full exception:com.successfactors.jobscheduler.ScheduledJobExecutionException: com.successfactors.sca.ServiceSystemException: Remote Exception: RuntimeException; nested exception is: org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update at com.successfactors.jobscheduler.jobimpl.SimpleJob.execute(SimpleJob.java:425) at sun.reflect.GeneratedMethodAccessor783.invoke(Unknown Source), Offcycle Event Batch Processing Job, Off Cycle Event Batch Processing Job,  BizXDailyRuleBatch:Processor:OFFCYCLE_EVENT , KBA , LOD-SF-EC-HRS , HRIS Sync , LOD-SF-EC-RUL , DO NOT USE - Business Rules & Event Derivation , How To

Product

SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors HCM all versions