Symptom
Onboarding/Offboarding processes are not automatically closed, even if both the 'Close Onboarding Processes Job' and business rule are configured.
Environment
SAP SuccessFactors Onboarding
Reproducing the Issue
- Go to "Manage Data".
- In the 1st dropdown, select "Process" .
- In the 2nd dropdown, select the process id of the onboarding/offboarding process.
- Notice that the process status is still "Open" while it should be "Closed".
Cause
Cause 1:
The Close Onboarding Processes Job and the associated business rule evaluate all Onboarding and Offboarding processes that have not yet been closed to determine whether they meet the criteria for automatic closure.
In some cases, one of these processes may contain a previously triggered process that failed and does not have a valid "process trigger" object. This failed process can cause the Close Onboarding Processes Job to terminate with an error, preventing all eligible processes from being closed.
Cause 2:
The Close Onboarding Processes Job in Provisioning may be getting skipped or failing due to an invalid or inactive job owner. The error message displayed in the job execution log is:
Error Code: Invalid user / Invalid job owner
This occurs when the user configured as the job owner is currently in an inactive status.
Resolution
Solution 1:
Step 1: Cancel the failed onboarding process
- Go to Onboarding dashboard.
- Find the failed onboarding process.
- Click "Cancel Onboarding".
Step 2: Run the "Close Onboarding Processes Job" manually from Provisioning. Other Processes will be auto-closed without any issue.
If you don't have access to Provisioning, or can't find out which process is giving you an error, please open a ticket to LOD-SF-OBX and the support team will assist you.
Solution 2:
Review the configuration of the Close Onboarding Processes Job in Provisioning. If the job execution log displays the error "Invalid user / Invalid job owner", verify the status of the configured job owner.
To resolve the issue:
- Change the job owner to an active user, or
- Reactivate the current job owner account.
After updating the job owner status, rerun the Close Onboarding Processes Job and verify whether the job executes successfully.
Keywords
ONB, OFF, closure job, business rule, autoclosed, process trigger, ONB2_ProcessClosurePeriodConfig, Close Onboarding Processes Job, Error Code: Invalid user / Invalid job owner, Invalid user, Invalid job owner , KBA , LOD-SF-OBX-CAN , Cancel Onboarding , Problem
SAP Knowledge Base Article - Public