Symptom
Assignee receives error "ChangeSet index 1 - class com.successfactors.genericobject.bean.eo.SyncGOToBeanImpl cannot be cast to class com.successfactors.onboarding2.bean.ruleModel.ONB2ProcessCloseRuleModel (com.successfactors.genericobject.bean.eo.SyncGOToBeanImpl and com.successfactors.onboarding2.bean.ruleModel.ONB2ProcessCloseRuleModel are in unnamed module of loader java.net.URLClassLoader" when completing Buddy new hire activity.
Environment
SAP SuccessFactors Onboarding
Cause
Rule "ONB2_ProcessClosurePeriodConfig"is not configured properly.
Resolution
- Navigate to Configure Business Rules
- Open rule ONB2_ProcessClosurePeriodConfig
- or search for rule scenario Configure the Period to Close and Archive Onboarding or Offboarding Processes and Tasks
- Make Correction
- Change the "Rule Model for Onboarding Process Closure.Process.Event Reason for Onboarding Cancellation" to
"Rule Model for Onboarding Process Closure.Event Reason for Cancelling Onboarding"
-
Please also refer to KBA 3192452 for how rule should be configured
Keywords
ChangeSet index 1 - class com.successfactors.genericobject.bean.eo.SyncGOToBeanImpl cannot be cast to class com.successfactors.onboarding2.bean.ruleModel.ONB2ProcessCloseRuleModel (com.successfactors.genericobject.bean.eo.SyncGOToBeanImpl and com.successfactors.onboarding2.bean.ruleModel.ONB2ProcessCloseRuleModel are in unnamed module of loader java.net.URLClassLoader, Buddy, ONB2_ProcessClosurePeriodConfig, archive, process closure, assign buddy , KBA , LOD-SF-OBX-NHA , New Hire Activities (activities, tasks, buddy, equipment) , LOD-SF-OBX-JPC , Process close job , Problem