SAP Knowledge Base Article - Public

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

Symptom

System Throws Application Error when trying to apply leave.

For internal users:

Error log:

"go not found with type:Rule"

Environment

SuccessFactors

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

Cause

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

Or

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

 

Resolution

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.

 

Keywords

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

Product

SAP SuccessFactors HCM Core all versions