SAP Knowledge Base Article - Public

3736292 - Custom Offboarding Email Triggered Multiple Times Due to OnSave Rule on Process Object - Onboarding

Symptom

  • A custom business rule is used to trigger an offboarding email instead of the standard email trigger.
  • The same email is sent multiple times to the offboardee.
  • The rule configured to trigger the email is executed multiple times.
  • In Email Services, multiple email entries are generated for a single process.

Environment

SAP SuccessFactors Onboarding

Reproducing the Issue

  1. Create a business rule to trigger a custom email notification.
  2. Assign the rule to the Process object via Configure Object Definitions.
  3. Configure the rule to run on OnSave.
  4. Complete the step that triggers the rule.
  5. Verify in Email Services that the email is triggered multiple times for the same process.

Cause

The business rule is configured on the Process object with OnSave execution. This event is triggered on every update to the process, including both user-initiated and system-driven updates. As multiple updates can occur during a single step, the rule is evaluated multiple times, resulting in repeated email triggers.

Resolution

When using a custom business rule to trigger emails, it is required to control execution using an Original Record condition to prevent multiple triggers.

  • Configure the rule to compare the current value with the Original Record value.
  • Ensure the rule executes only when the relevant field changes from its initial state.

Example:

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

Keywords

offboarding, ofb, onb, onboarding, obx, duplicate, email, multiple, emails, custom, process, object, on, save, rule, business, rule, repeated, manager, review, step, resignation, approval, email, notification, configure, object, definitions, condition , KBA , LOD-SF-OBX-EML , Notifications , LOD-SF-OBX , Onboarding 2.0 , Problem

Product

SAP SuccessFactors Onboarding all versions