SAP Knowledge Base Article - Public

3668696 - "There is an invalid business rule with code **** for the trigger absence event notification in the Employee Time object definition" is raised in Time Sheet UI and Job Info's Time Management section for time sheet

Symptom

The error "There is an invalid business rule with code **** for the trigger absence event notification in the Employee Time object definition" is raised when accessing time sheet UI.

Same error can also be found in Job Info's Time section in People Profile.

And the Time Sheet Summary card on Latest People Profile would also fail with error message "Looks like something went wrong" with Error Code: 412.

Environment

  • SAP SuccessFactors Employee Central - Time Sheet
  • SAP SuccessFactors Time Tracking

Cause

There is a business rule assigned to Employee Time, where the execution of rule function Trigger Worker Absence Event() is configured under an always true condition like below.

The rule function Trigger Worker Absence Event() should only be used for absences, so if this function configured in the business rule like above under an always true condition, our check will raise error and block the access to time sheet. 
This is the expected outcome.



Resolution

Please understand the rule function Trigger Worker Absence Event() should only be used for absence, so usually an IF condition like below is needed in the business rule that is assigned to the Employee Time object.

To get over the error message in title, please make sure that the execution of rule function Trigger Worker Absence Event() is not under an always true condition. 

Keywords

view, time sheet, timesheet, for..., access, UI, TMS, TTR, tracking, business rule, Trigger Worker Absence Event, PPX, people, profile, management, section, Job, Info, looks like something went wrong, PP3, 412, Trigger Worker Absence Event, always, true, TIM-54348 , KBA , LOD-SF-EC-TMS , Time Sheet , LOD-SF-TTR-TMS , Time Sheet , Problem

Product

SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors Time Tracking all versions

Attachments

Pasted image.png