SAP Knowledge Base Article - Public

3845580 - How to change the "Enrollment Amount" field value via OnChage rule in the Latest Enrollment Experience - Employee Central

Symptom

You have the requet of changing/setting the Enrollment Amount field during the Enrollment according to specific conditions.

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."

Environment

SuccessFactors Employee Central

Cause

When using the Latest Enrollment Experience, it is only possible to change the Enrollment Amount field value via OnChage and another field to act as a trigger. 

For Example: the Entitlement Amount is set to -1, and you would like to set it to 0 if the employee chooses a specific type of car (custom field car_type). This will be the field that will trigger the onChange rule to set the Entitlement Amount. 

Resolution

  1. Create a custom field under the Benefit Enrollment object definition to be the trigger for this process:
  2. Create a rule with the scenario "Rules for MDF Objects" to set the Enrollment Amount to 0 according to the field change;
  3. Assign the rule to the custom field created:
  4. Go to "Configure Benefits Interface" and create a new UI for your specific Benefit:
  5. Configure it as per your requirements and save:

    Note: It may take a while for the new UI to be reflected on the Enrollment Screen. You can also log out and log in to the instance to speed up the process. 

When the Employee goes to enroll in the Allowance, they will need to populate the created field to trigger the OnChange rule. 

  1. If the rule is satisfied, the field should be correctly changed to 0:

    Note: If the field has "String" as a Data Type, the values entered in the field during the enrollment need to be exactly the same as the value specified in the rule (including upper and lower case)

    You can use the rule trace feature to troubleshoot (2257064) the rule behavior. 

See Also

Configuring Custom Fields and Associations on the Enrollment UI
3805125 - How to Default Enrollment Amount to be Equal to Entitlement Amount for Allowance in Latest Benefit Enrollment Experience

Keywords

Latest Benefit Enrollment Experience, Enrollment Amount, Allowance, default to 0, Configure Benefits Interface, onchange rule , KBA , LOD-SF-EC-GBF , Global Benefits , How To

Product

SAP SuccessFactors HCM Core 2611

Attachments

customfield 1.jpg
Customfield2.jpg