Human Capital Management Blogs by Members
Gain valuable knowledge and tips on SAP SuccessFactors and human capital management from member blog posts. Share your HCM insights with a post of your own.
cancel
Showing results for 
Search instead for 
Did you mean: 
vpathangi
Participant
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.

 



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”


 

Step:3

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

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

 


 

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”

 


 

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’

 


 

Check the Email and Phone Info data.

 


Fields are automatically defaulted.

Looks all good!

 

Hope this was helpful.

 

Regards,

Venkata Subbarao Pathangi
7 Comments