Symptom
Following the import of job information (large number of records) with time profile data, time accounts are not generated automatically.
Environment
- SAP SuccessFactors Employee Central
Reproducing the Issue
- Navigate to Import Employee Data
- Select Job History Import
- Import job information with time profiles for a large number of employees (12,000 or more records).
- Only a subset of employees had time accounts generated automatically.
Cause
- When the event size exceeds the threshold, it is executed in a separate job. When there are a large number of incoming events, many jobs are kept in the queue, causing the server to overload.
Resolution
The engineering team investigated this and discovered a solution, but it must be applied at the instance level. A toggle feature must be enabled at the instance level to redirect the job information import event flow from and to the domain event subscriber, which will process events synchronously and prevent the server from becoming overloaded.
About the Toggle "ECT_Import_DivertEventToDomainEventProcessorToggle_1663076940":
- Before enabling this toggle, when job information import is completed, an SFEvent is generated to process follow-up activities. When the payload size exceeds five, it is executed as a background scheduled job.
- If this toggle is enabled, the import event will be received by a domain event subscriber, which will process follow-up activities synchronously rather than as a job.
- Because the follow-up processing, which was previously implemented as a background job, will now be completed synchronously, applying this change to the actual job information import should be risk-free.
@SAP Support: Check Internal Memo for more details on enabling Toggle Feature -'ECT_Import_DivertEventToDomainEventProcessorToggle_1663076940"
Keywords
ECT_Import_DivertEventToDomainEventProcessorToggle_1663076940,ECT_Import_DivertEventToDomainEventProcessorToggle, Job information import, Job information import Time account, Time Account Generation, Auto Generation, Auto Generation failed, Time Account Auto generation failed, Time Account, Time Account missing, Post Job information import, Job Information Import Follow Up Processing ,Job Information Import, Follow Up Processing, Job Information Import Follow Up activities, Job Information Import Follow Up Processing job,Job Information Import Follow Up Processing job failed. , KBA , LOD-SF-EC-TIM-TA , Time Accounts (TAT, TA, TAD) , LOD-SF-EC , Employee Central , LOD-SF-EC-TIM , Time Off , LOD-SF-EC-TIM-JOB , Time Management in Job Info - Records & Objects , Problem