cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to identify Login user as Manager in Add new Employee screen - SAP SuccessFactors

karthik1gobburu
Participant
0 Kudos
310

Hello Everyone-

My requirement is when login user is a manager & he tries to select email type as Business system should show an error. I have created the below business rule using "empl information model" -

 

karthik1gobburu_0-1747281671629.png

 

The above condition is not working , I also have tried below options-

1- Is Position Below User’s Position In Hierarchy() (New Version)

Please advice as how can we identify login user as a manager in Add new employee scren.

 

 

 

View Entire Topic
MRUTYUNJAY
Explorer

Hello @karthik1gobburu ,

To achieve the desired result as per your requirement you can create business rule as attached:

MRUTYUNJAY_0-1747512490903.png

You need to

  • Create one variable for Login User.
  • In the IF part of the business rule, you need to check the value of the Supervisor (Is Manager?) field for the logged-in user. If the Supervisor value is set to "Yes" for the logged-in user, then he/she is considered a manager, and this logic will produce the desired result.

I believe this solution meets your requirement.

 

KR😊

Mrutyunjay Kumar

karthik1gobburu
Participant
0 Kudos

Hello @MRUTYUNJAY

Do we need a custom  field called "Is manager? in Job Information portlet? and maintain yes/no for all employees?

The problem for my customer we donot have any such field.

 

Please advice

Karthik

karthik1gobburu
Participant
0 Kudos

Hello @JonasCosta.

My exact requirement is like this...

If a Manager goes to ADD NEW EMPLOYEE >> Goes to Email type as "Business" then system show an error message that "Managers are not allowed to select emailtype as business"

But when others ( like HR / superadmin) do the same no error should be shown. 

The above scenario is to restrict managers from entering business emails.

Please advice on this.