2487058 - Application Error when trying to Save Leave-EC-TimeOff

SAP Knowledge Base Articles - public

2487058 - Application Error when trying to Save Leave-EC-TimeOff


System Throws Application Error when trying to apply leave.

For internal users:

Error log:

"go not found with type:Rule"



Employee Central

Time Off

Reproducing the Issue

EmployeeTime object definition should have time off workflow save rule attached.

And time type should have workflow configuration and admin workflow configuration added.

Now Go to Time off and apply leave.

You'll receive an application error as below.

App err leave.png


Case 1: Either an invalid rule reference was found in the object definition for which the Rule was not found in the system. 


Case 2: There is a permission restriction to see the rule.



Workaround for case 1 (Dangling rule reference, causes save data to fail ) :
1. User has to edit the Object Definition and click the delete icon next to the “Rules” link on the Object Definition main page (not by remove icon next to each rule)
2. Save the Object Definition.
3. Add back all the valid rules to the Object Definition and save.


Another workaround to case 2:

(for internal users: if the log contains "WARN [GOSQLGeneratorImpl] No permission to view Rule")

Go to Object Definition of Rule (since rule is the object having issue evident from the error "go not found with type:Rule").

Make sure that the object is not secured.

Secured = No.



application error when applying leave error when saving leave "gonotfoundwithtype:Rule" , KBA , LOD-SF-EC-TIM , Time-Off , Problem


SAP SuccessFactors HCM Core all versions