Skip to Content
Technical Articles
Author's profile photo Sudheer Mathukumalli

Auto Delegation and selection of delegates

We have responded to the previous year 2020 in a spectacular fashion, rapidly adapting to substantial changes ranging from client workshops moving to virtual mode, office coffee breakouts turning into digital coffee breaks and much more…

And most important, we have aced the art of working in the new normal without impacting our deliverables!

This is my first blog post for the year 2021 on the topic “Auto Delegation – Selection of delegate”

Disclaimer: All the images are captured from the sales demo instance!

Delegating workflows is a very common requirement for most of the customers across regions, in specific the auto delegations when compared to manual delegation.

Pain area:   

As we all know, as part of 1H 2020 release of SAP SuccessFactors, we have new fields/features added to “Auto delegation” such as start date, end date etc.

However, there are cases where customers would like to choose only the selected users as delegates, but not just anyone who is active in the organization, which is the case as of now.

In SAP SuccessFactors Employee Central workflows, we currently support turning on the delegation and select the start date and end date, but selecting the preferred delegates, say from the same location or department as of delegators is something which is not yet supported. I am demonstrating a proof-of-concept service where this requirement can be achieved.

We would be needing the following tools in SAP SuccessFactors.

  • Custom MDF (Meta data framework)
    • Delegator (for whom you need delegation)
    • Start Date (Date when you want to start delegation)
    • End Date (Date when you want to end the delegation)
    • Delegatee (to whom you want to delegate the workflow)
    • Delegation Status (whether it is on or off)
  • Integration Center
    • Auto Delegation – This picks up the custom MDF records and map the fields to standard Delegation related MDF objects “Auto Delegate Config” & “Auto Delegate Details” along with appropriate filter

The Integration center job must be set real time and to be run daily.


Custom MDF:

The Custom MDF has to be created and used to store the user preferences like when to start Auto delegation, when to stop the same, who is the delegator and the delegate and finally what is the delegation status.


Custom MDF – Object definition


Grant the permissions for this custom MDF to ESS (Employee Self Service) role, so that all employees are able to select the right delegate within the same location and department.


Role Based Permission Settings

Create a message definition like below in Manage Data, to display error message on UI (User Interface) when delegator selecting the wrong delegate who is outside of his/her location and department


Message Definition

Write a business rule like below, to display the above error message and assign it “onChange” of delegatee field of the custom MDF created in previous step


Business Rule

Create an UI for the custom MDF, like below –


Configure UI

Assign the above UI to “Configure people profile”, so that delegators can create a record and select the appropriate delegate in their profile page.


Configure People Profile

Now, the delegators can see the portlet on their profile pages as below and select the right delegate along with start and end dates and delegation status.


People Profile – Portlet

Integration Center:

Create new Integration type -> Select Scheduled, source & target both as ‘SAP SuccessFactors’


Integration Center – Scheduling a Job

Select Starting entity as custom MDF and target MDFs as Auto Delegate Config and Auto Delegate Details.


Integration Center – Starting Entity and Destination Fields

Set purge type as “Full” and operation as “Upsert Multiple”

Go to field mapping view and map the fields from custom MDF to Auto Delegate config and Auto delegate Details MDF objects –


Integration Center – Mappings

Fields mapped:

  • “User” from custom MDF to “delegator” of Auto Delegate Config MDF
  • “Delegation Status” from custom MDF to delegationStatus of Auto Delegate Config MDF
  • “End Date and Time” from custom MDF to endTime of Auto Delegate Config MDF
  • “Start Date and Time” from custom MDF to startTime of Auto Delegate Config MDF
  • Default “alwaysOn” to true
  • Default “status” from Auto Delegate Details MDF to ON
  • “Delegatee (cust_delegatee)” from custom MDF to “delegatee” of Auto Delegate Details MDF

Go to filer view and create a filter as shown below


Integration Center – Advanced Filter

This means, the integration must pick only those records whose end date is after today.


I have run a report to identify a set of test users who belong to same department and two different locations


Snapshot of Adhoc Report

From the above table, Charles Braun can only select his delegate as only Christine or Lauren (since they belong to same location and department), but not Aanya Singh as she belongs to a different location though from same department.

Proxy as Charles Braun and try to select Aanya Singh as delegate. As soon as the delegate is selected as Aanya Singh, we get the below error message –


Selection of wrong delegate and the corresponding error message

Now, select delegate as either Christine or Lauren and system allows to do so, as they both belong to same location and department. Select the start date, end date and Delegation status and “Save” the record.


Selection of right delegate with no error message

In Integration Center, once you run a test/preview, the record from people profile (Custom MDF) gets mapped to standard MDF objects related to Auto Delegation.


Integration Center – Preview

Now, click on “Auto Delegate” which appears under Quick Links by proxy as a delegator


Auto Delegate option under Quick Links

Here, with no manual intervention, all the details like Delegation status, start time, end time and finally the Delegatee are auto selected based on what has been filled by the delegator in his profile page.


Auto Delegate Screen

Once the End time is passed, as per the filter logic, the record won’t be synced to Integration center and the delegation status becomes “Off” automatically.


Even though system allows delegators to select anyone from the organization as his/her delegate, with this workaround, we can allow delegators to choose only the selected users as delegates.

Thanks for taking your time in reading this blog and leave your comments, if any for further clarifications. Thank you!

Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo John Daniel
      John Daniel

      Super Sudheer

      Author's profile photo Sudheer Mathukumalli
      Sudheer Mathukumalli
      Blog Post Author

      Thanks John!

      Author's profile photo Antonio Ferreira Vicente
      Antonio Ferreira Vicente

      Happy New year Sudheer Mathukumalli!

      This Blog was what I need. In my case, The manager only delegates to another manager's job. I believe that business role can be adapt.

      Author's profile photo Sudheer Mathukumalli
      Sudheer Mathukumalli
      Blog Post Author

      Happy new year to you too, Antonio!

      As per the customer requirement, the business rule can be adapted but needs to be thoroughly tested (of course!)

      Author's profile photo Byju Joseph
      Byju Joseph

      This is a Great Solution Sudheer. We had several clients who wanted this kind of customization for Delegatee Selection.

      This really Helps! Thank you for Sharing.

      Author's profile photo Sudheer Mathukumalli
      Sudheer Mathukumalli
      Blog Post Author

      Thanks a lot!

      Author's profile photo Govind Setia
      Govind Setia

      Very well Articulated Sudheer!

      The approach can be extended to different Customer Scenarios.

      Author's profile photo Sudheer Mathukumalli
      Sudheer Mathukumalli
      Blog Post Author

      Thank you Govind for appreciating the content! Yes, the idea can be definitely extended to different customers with minor tweaks to the config...

      Author's profile photo Danya Bharathi Muniyan
      Danya Bharathi Muniyan

      Excellent Sudheer !! Innovative solution !!

      Author's profile photo Sudheer Mathukumalli
      Sudheer Mathukumalli
      Blog Post Author

      Thank you Danya for liking my work!!

      Author's profile photo Helder Rodrigues
      Helder Rodrigues

      Hi Sudheer,

      Very good solution!

      I would just few points:

      1. At employee level, in the MDF I would not add status, as this can be difficult for the employee and they can do the wrong combinations, it means, valid end date but status as off. Therefore I would set the value only in the integration center based on the dates;
      2. The filter in the integration center should have start date as well. Otherwise if I set my delegation for next week, that record will be already taken today, if you have the integration set to run every day;
      3. Additionally you can consider another integration to set the delegation off.

      Definitively, from my point of view, this is the best solution as the standard option is a little bit hidden and sometimes difficult to find!

      Author's profile photo Sudheer Mathukumalli
      Sudheer Mathukumalli
      Blog Post Author

      Hi Helder,

      Very true and totally agree with all your points. Consultants to consider these when they have to implement the same in their customer instances with little tweaks as per the exact customer requirements.

      Thanks a lot for your valuable feedback and suggestions!!

      Author's profile photo Neelesh Kamath
      Neelesh Kamath

      Wonderful Sudheer. This is truly customizable as per customer needs. Helpful indeed!

      Author's profile photo Sudheer Mathukumalli
      Sudheer Mathukumalli
      Blog Post Author

      Thank you Neelesh, for reading this and also sharing your feedback!

      Author's profile photo Berlinda Mensah
      Berlinda Mensah

      This is very insightful Sudheer. Thanks for sharing!

      Author's profile photo Sudheer Mathukumalli
      Sudheer Mathukumalli
      Blog Post Author

      Thank you Berlinda for liking it!

      Author's profile photo satyanarayana gudepu
      satyanarayana gudepu

      Hi Sudheer,

      It's a great work. Thanks Sudheer !

      I hope we can utilize standard autodelegate config object to manage UI rather creating a new custom object...and can attach validations biz rule too.






      Author's profile photo Sudheer Mathukumalli
      Sudheer Mathukumalli
      Blog Post Author

      Hi Satya,

      Thank you for reading and liking my work. Indeed, this can also be achieved using the standard MDF objects and assigning validation biz rules to standard objects/UI as well.

      Thanks, Sudheer

      Author's profile photo VijeyAananth SR
      VijeyAananth SR

      Thanks for sharing !! Good solution Sudheer.

      Author's profile photo Shaik Gouse Mohiddin
      Shaik Gouse Mohiddin



      If the record is created post the job runs the delegation is not happeing, is there any way to run the job automatically whenevr the record is created ?

      Author's profile photo Sudheer Mathukumalli
      Sudheer Mathukumalli
      Blog Post Author

      Hi Mohiddin, The only option i can think of is to have more frequent jobs to cater to such needs. thanks!

      Author's profile photo Shaik Gouse Mohiddin
      Shaik Gouse Mohiddin


      Author's profile photo Mayur Pateliya
      Mayur Pateliya

      Great work Sudheer!!
      Thanks for the detailed step wise process to customized solution

      Author's profile photo Ravi Degala
      Ravi Degala

      Great article Sudheer Mathukumalli!

      Question, any of the Quick Actions customizable? I would like to add an extra field to Delegate Workflows quick card. I'm able to change the object definition  of Auto Delegate Config,  but that extra field is not appearing on the QA card on the homepage regardless of the change of Object Definition.

      Can you please  help/share your thoughts on this?

      Author's profile photo Ashly Titus
      Ashly Titus


      We would like to integrate SAP My Inbox substitute functionality to be extended to update SAP SuccessFactors Delegation. How can this be achieved? Can anyone share any insights?

      Author's profile photo Randal Torezan
      Randal Torezan

      Hello Sudheer

      Great job!!
      I have one question. Does this type of delegation also work for the PM/GM module? And if not, do we have a solution?


      Thanks a lot!

      Author's profile photo Florian Kuerzinger
      Florian Kuerzinger

      Hi Sudheer,

      I have a question regarding the pick list in the Status field, what pick list did you use and/or what values did you put in the pick list?
      The problem occurs in the mapping with the data type Enum, because I don't know the correct values for it (simply: on/off doesn't work).

      kind regards