SAP Knowledge Base Article - Public

2610408 - How to default Termination Field values and attributes using Business Rules based on the selected Termination Reason?

Symptom

  • A Business Rule needs to created to change or set the value a field based on Termination Reason.
  • To set values or attributes, such as visibility, Termination Details fields based on the Termination Reason selected.

*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 - Termination
  • SAP SuccessFactors Employee Central - Business Rules

Resolution

  1. Create a Business Rule with Base Object "Job Information Model".
  2. The below Business Rule sets values to two sample fields in the Termination Details Portlet based on the Termination Reason.

    Termination_Reason.png

  3. Go to Admin Center > Manage Business Configuration > jobInfo. Search for event-reason. If this field is not yet added, add the event-reason field and its visibility can remain as "No".

    EVENTREASON.png

  4. In the event-reason field, click on Details and assign the Business Rule created as onChange.
  5. Save the changes.

IMPORTANT NOTE: Make sure that the Identifier is 'event-reason' and not 'change-reason'.

Keywords

SF, EC, SuccessFactors, onChange rule, termination reason, employmentdetails, business rules, event reason, termination event reason , KBA , LOD-SF-EC-TER , Termination Details , LOD-SF-EC-JOB-RUL , Job Info Business Rules , How To

Product

SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors HCM Suite all versions