Symptom
An onSave rule in Employment Details that creates a Pay Component Non-Recurring Record isn't working but the Rule Trace shows that the execution was successful.
Created 'employmentInfo.payComponentNonRecurring' successfully! Returned created object with type 'payComponentNonRecurring': 'FirstName LastName (UserID)'.
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
Environment
- SAP SuccessFactors Employee Central - Business Rules
- SAP SuccessFactors Employee Central - Compensation Information
Reproducing the Issue
1. Configure a Business Rule to create a Pay Component Non Recurring Record using Employment Details as the Base Object. Example:
2. Add the Rule as onSave in Manage Business Configuration > employmentInfo.
3. Go to any employee's Profile and scroll to Employment Details.
4. Make any changes and click on 'Save'.
5. Refresh the page and check the Pay Component Non Recurring Portlet. Confirm that the records were not created.
Cause
The cross-portlet rule will only work on Take Action > Employment Details and not from the Pencil Icon.
Resolution
Make the changes from Take Action > Employment Details and save. The Pay Component Non Recurring Record should be created as expected.
Keywords
spot bonus, one time payments, pay component non recurring, create, compensation information , KBA , LOD-SF-EC-CMP-RUL , Business Rules , LOD-SF-EC-JOB-RUL , Job Info Business Rules , How To