SAP Knowledge Base Article - Public

2302229 - Receiving Multiple EC Alerts and Notifications

Symptom

You have a business rule configured to trigger EC Alerts & Notifications.

You are now receiving multiple alerts and notifications instead of one.

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

Reproducing the Issue

  • In this example, you have created a business rule to send an EC Alert & Notification when an employee’s Probationary Period End date is one day away:
    1.png

  • Multiple Alerts & Notifications are being triggered for each employee.

Cause

  • EC Alerts & Notifications are triggered using ‘saveAlert’ event type. These is essentially the same as triggering the business rule as ‘onSave’.
  • The EC Alert & Notification, will be triggered each time the ‘IF’ condition of the business rule is meet when clicking ‘Save’ in the portlet you are triggering the rule on.
  • This can result in multiple EC Alert & Notifications being sent.

Resolution

  • When creating a Business Rule to trigger an EC Alert & Notification, you should use a ‘Model’ Base Object.
  • Since this rule is triggered from Job Info, there is a high possibility that an employee may have more than one record were the ‘Probation Period End Date’ is the same.
  • To stop multiple alerts from being triggered (one for each record). We can create an ‘IF’ condition in the rule to stop this.
  • This is done by comparing the current value with the pervious value and only triggering if there is a change.
  • Please see the below screenshot for an example rule, which will not trigger multiple alerts:
  • 2.png
  • FAQ - Additional Information

Q) Where can I get Guide?

A) Guide: Employee Central Workflows: Implementation and Administration

Chapter: End of Contract Alert

Q) what To do after correcting an EC alert Rule?

A) Please refer to

  • 2697132 - EC Alerts: How to correct stored Alert after the Business Rule has been changed 
  • 2677124 - EC Alerts: System Logic for when a saveAlert Rule is Removed or Changed 
  • 2799601 - EC Alert Job With Specify Date  
  • 2757863 - Manage Alerts and Notifications tool

See Also

  • 2315275 - Employee Central - Workflows & Alerts
  • 2156278 - How to Set Up EC Alerts and Notifications Using Business Rules

Keywords

EC Alert & Notification, Alert, Multiple rule, workflow , KBA , LOD-SF-EC-ALR , Alerts & Notifications (saveAlert - EC Core only) , Problem

Product

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