Skip to Content
Technical Articles

SAP SuccessFactors Employee Central – Automatically generate email addresses and phone number for the employees during hiring.

How to Automatically generate email addresses and phone number for the employees during hiring.

 

Requirement:

If First name is Test and Last name is Emaildefault were to be hired, his email address would have to be Test.Emaildefault@tbc.com, Email Type to be Business and Is Primary to be Yes.

Also Phone Type to be Office, Country Code to be +44, Phone Number to be 000000 and Is Primary to be Yes.

It should automatically default or fill those fields.

Lets Start!!!!!!

 

Step:1

Navigation: EC-> Admin Tools -> Search for Configure Business Rules

Create the rule as per this screen below for Email default.

 

Email%20Rule

Points to be noted:

  • Base object has to be Employee Information as you need this rule to kick in while hiring.
  • Format() is a function that comes shipped. There are many other useful functions that you can use out of the box
  • Format() lets you use java style runtime variables %s. The rule here essentially means replace the first %s with the first name and the next %s with the last name of the employee.

 

Step:2

Now tie the business rule you created for emailInfo

Navigation: EC->Admin Tools-> Search for “Manage Business Configuration”

Email%20Assignment

 

Step:3

Navigation: EC-> Admin Tools -> Search for Configure Business Rules

Create the rule as per this screen below for Phone default.

 

Phone%20Rule

 

Points to be noted:

Base object has to be Employee Information as you need this rule to kick in while hiring.

 

Step:4

Now tie the business rule you created for phoneInfo

Navigation: EC->Admin Tools-> Search for “Manage Business Configuration”

 

Phone%20Assignment

 

Step:5

Let’s take our rule for a spin by trying to hire an employee.

Navigation: EC->Admin Tools-> Search for ‘Add New Employee’

 

Add%20New%20Employee

 

Check the Email and Phone Info data.

 

Default

Fields are automatically defaulted.

Looks all good!

 

Hope this was helpful.

 

Regards,

Venkata Subbarao Pathangi

4 Comments
You must be Logged on to comment or reply to a post.