SAP Knowledge Base Article - Public

3438077 - How to avoid duplicated email address entered into instance?

Symptom

How to raise error if the entered email has already existed in instance?

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

  • Email Information
  • Add New Employee

Resolution

Prepare a custom MDF to store Email data

1. Create an MDF object. (Refer to KBA 2285199 - How to create a Custom Foundation Object )

2. Grant permissions to edit this new object in Manage Permission Roles

Prepare Email Data

1. Go to Reporting, create a table report by using single Domain:Person and Employment Export report

2. Provide Report Name in General Info tab

3. Select person-id-external and email-address fields in Column tab<Email Info

4. Save and Generate it

Import Email Data

1. Go to Import and Export, download the template of new created MDF

2. Fill in the Email Addresses and User ids

3. Import the file 

Create Business Rule to raise error when entering an existing Email

1. Create Error message via Manage Data<Create<Message Definition

2. Create a business rule via Configure Business Rules<Create<Employee Central Core<Trigger Rules to Validate HRIS Elements, base object should be Email Information Model

3. Click Details of email-address field in Manage Business Configuration<emailInfo, configure this rule as an onChange rule under Trigger Rules section 

Now, the error message should raise up after entering an existing Email Address. This works when the email address is changed or added, regardless of the action is done via Add New Employee or People Profile Page.

 

Auto Save the Emails after adding new employees

Here you could use onPostSave rules to trigger an Intelligent Services Center event, so that to run an Integration Center job to write Email Data to the custom MDF automatically.

1. Create a business rule via Configure Business Rules<Create<Employee Central Core<Trigger onPostSave Events for Job Information, base object should be Job Information Model

2. Go to Manage Business Configuration<jobInfo, configure this rule as an onPostSave rule under Trigger Rules section 

3. Go to Intelligent Services Center<Employee Hire, add a new Integration activity, please refer to KBA 2769349 - How to trigger an Integration Center job (IC) from Intelligent Services Center (ISC) - SAP SuccessFactors HXM Suite

See Also

2769349 - How to trigger an Integration Center job (IC) from Intelligent Services Center (ISC) - SAP SuccessFactors HXM Suite

Intelligent Services Events

Keywords

ISC, auto save, intelligent services center, integration , KBA , LOD-SF-EC-PER-EML , Email Info - Config, Rules, RBP, UI , LOD-SF-EC-HIR-RUL , Business Rules , LOD-SF-INT-INC , Integration Center , LOD-SF-EC-ITS , Intelligent Services (EC Components Only) , How To

Product

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

Attachments

Pasted image.png
Pasted image.png
Pasted image.png
Pasted image.png
Pasted image.png
Pasted image.png
Pasted image.png
Pasted image.png